-
Posts
323 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by vijay
-
-
Hi.. Use following instead of ur line echo "<FORM name=\"".$this->formName."\" action=\"".$_SERVER['PHP_SELF']."\ method=\"post\"";Suppose this will help u..Regards,Vijay
-
Hi.. First see the folder's owner or file's owner which you have create is same as other.. and if yes then that owner has given permission to change the file mode.. If yes then and then we can go for chmod().. otherwise we have to hosting server people to give permission that owner to write and execute..Reagards,Vijay
-
Hi.. It'll definitely work if form submits and given url exist with image.. ammend this line: <img src="<?php echo $_POST["Picture1"]; ?>" alt="" />Regards,Vijay
-
Hi.. use following query: Query:select * from `table_name` where field1 is null or field2 is null or field3 is null or field4 is null or field5 is null Regards,Vijay-------------------------------------------------------------------
Hi,I need ur help to resolve my issue.I'm using Oracle 9i.I've a table with 10 columns. Each column has 10 values (i.e., 10 records completely). In that, 5 columns have some null values. I want to retrieve the column names in which the records have the null values.Pls help me finding the query.Thanq in advance.Bye. -
Hi rename("/tmp/tmp_file.txt", "/home/user/login/docs/my_file.txt"); to rename file you have to specify sorce and destination with file name with extension.. now plz look carefully in ur error you will get the tings whats the error Regards,Vijay
-
Hi..for that first you have to check that whether this file's directory have ful rights or not..?if not then give 777 by chmod or manually.. then try u will get it..Regards,Vijay
-
Image Create.
in PHP
Hi..Use this u r not using php5 so..<?php // better, difficult to guess $better_token = substr(md5(uniqid(rand(), true)),0,5); // create a 100*30 image $im = imagecreate(100, 130); // $im = imagecreatefrompng("images/button1.png"); readymade image // white background and blue text $bg = imagecolorallocate($im, 255, 255, 255); $textcolor = imagecolorallocate($im, 0, 0, 255); // write the string at the top left imagestring($im, 10, 0, 0, $better_token, $textcolor); // output the image header("Content-type: image/jpg"); imagejpeg($im);?>Regards.Vijay
-
Image Create.
in PHP
Hi.. Use following code suppose that will help you.. if then for readymade image u can also use readymade image.. <?php // better, difficult to guess $better_token = str_split(substr(md5(uniqid(rand(), true)),0,5)); for($i=0;$i<5;$i++) { $random_str.= $better_token[$i]." "; } // create a 100*30 image $im = imagecreate(100, 130); // $im = imagecreatefrompng("images/button1.png"); readymade image // white background and blue text $bg = imagecolorallocate($im, 255, 255, 255); $textcolor = imagecolorallocate($im, 0, 0, 255); // write the string at the top left imagestring($im, 10, 0, 0, $random_str, $textcolor); // output the image header("Content-type: image/jpg"); imagejpeg($im);?> Regards,Vijay----------------------------------------------------------------------------------------------------
Hey, how can i make a random image? with a random text on? Image dont need to be advanced, just a image with like nothing on but need to have text on it.. or just a number of random pics i make but i need to place tekst on them with php.And they cant be background images hehe..any kind of help is great ->Kristian_C -
Hi.. You can use session/ gloabal var for this.. if it reach successfully on thank u page then you have to store some flag on that page that you have to check on previus page.. Regards, Vijay
-
Hi.. Is there any way in mysql to get total no. of columns from specific table..?you have to not use: mysql_num_fields($result);want to say any special query... or mysql function..Regards,Vijay Prajapati.
-
Hi,Plz try with like this: this will probably work$data="Content"."\n";Regards,Vijay
-
Hi, How can i get folder of sent messages in php with the help of imap function?Plz reply as soon as possible.Thanks & Regards,Vijay
-
HiMy question is like this which is proper way and which one is more faster(1)/(2) from following:(1.) Assume that @qry is large and complex using join and typical conditionscreate proc proc_name @qry varchar(8000)as select * into temp from table1 execute (@qry) drop table tempgo(2) Now in this create proc proc_name @param1,@param2,....as declare @qry varchar(8000) select * into temp from table1 -- here I am set query in var @qry set @qry= select * from tablename if(@param1= something) begin set @qry= @qry + 'where some='+@param1+... end ................ ................ ................ .. .. .. drop table tempgoSo Now tell me which one is appropriate/proper and more faster ?Regards,Vijay
-
Hi,Which Is more faster and proper way ?RegardsVijay
-
HiPlease tell me the difference of following 2 things-->(1) to pass all possible parameter that generate query at SQL Server side and execute it--->(2) OR to build query at web server (in php/cfml file in one string variable) and passed it in to stored procedureRegards,Vijay
-
HI For that first you've to check the php.inp in that setting about smtp_portsuppose this will help uregardsVijay
-
Hi You can use:$var = $_REQUEST['blah'];Or You can pass it in to querystring and use $_GET['Varname']RegardsVijay
-
-
HiPlease try with this select Omim_No from av,cs,ti,ti_alt_title,txwhere av.Description LIKE '%LIVER%'and (cs.CS_Description LIKE '%LIVER%' OR cs.CS_DATA LIKE LIVER%')and ti.Omim_Titles LIKE '%LIVER%'and ti_alt_title.Omim_Alt_Titles LIKE '%LIVER%'and tx.Omim_Text LIKE '%LIVER%'suppose this will help uRegardsVijay
-
IP Location
in PHP
Hi Please refer following 2 linkshttp://www.ip2location.com/README-IP-COUNT...-ISP-DOMAIN.htmhttp://www.ip2location.com/free.asp.It will help u out.Regards,Vijay
-
-
Hi,It will give number of rows in result.So plz checkif(mysql_num_rows($result) > 0){}Suppose this will help uRegardsVijay
-
Thanx DearAAHHH - Cold Fusion - WELCOME!!!I'm glad to see another person playing with Cold Fusion.application.cfm is the answer to your question. There is is also a file called onrequestend.cfm that is process like the application.cfm file but at the end of every page.Here is a little bit about how to create your application.cfm page:http://www.edgewebhosting.net/cfdocs/Devel...Framework4.htmlFeel free to let me know if you have any other questions.P.S. I have inquired with w3schools.com why there isn't any CF tutorials - I've even volunteered to convert existing ASP and PHP tutorials to CF - but reply as of yet. -
Hi, I am working on ColdFusion,As any of the ASP page is requested from the client's browser, the request of the ASP page reaches the IIS. The file which plays the active role in compilation of ASP page is GLOBAL.ASA. This file compiles the ASP page on the server and generates it's eqvivalent HTML code and thorws to the clien't browser.Which file is responsible for compilation of any ColdFusion file?
Loading from External site
in PHP
Posted
Hi..First check http://r6vegas.eu.xbox360.gamebattles.com/stats/868.htmand try to see that page weather it's source code lenhth accordingly ur requirement or not..Regards,Vijay