Jump to content

vijay

Members
  • Posts

    323
  • Joined

  • Last visited

Everything posted by vijay

  1. 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
  2. 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
  3. 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
  4. 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
  5. vijay

    About Column Names

    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-------------------------------------------------------------------
  6. 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
  7. vijay

    open a new file

    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
  8. vijay

    Image Create.

    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
  9. vijay

    Image Create.

    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----------------------------------------------------------------------------------------------------
  10. 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
  11. 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.
  12. Hi,Plz try with like this: this will probably work$data="Content"."\n";Regards,Vijay
  13. 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
  14. 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
  15. vijay

    Stored Procedure

    Hi,Which Is more faster and proper way ?RegardsVijay
  16. vijay

    Stored Procedure

    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
  17. vijay

    sending email problem

    HI For that first you've to check the php.inp in that setting about smtp_portsuppose this will help uregardsVijay
  18. Hi You can use:$var = $_REQUEST['blah'];Or You can pass it in to querystring and use $_GET['Varname']RegardsVijay
  19. vijay

    HELP!

    HiGet help with coomand sp_addlinkedserver in Sql ServerVijay
  20. 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
  21. vijay

    IP Location

    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
  22. vijay

    File List

    Please dont spam
  23. vijay

    mysql_num_rows()

    Hi,It will give number of rows in result.So plz checkif(mysql_num_rows($result) > 0){}Suppose this will help uRegardsVijay
  24. 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?
×
×
  • Create New...