39,393 Topics
![]() | |
Hi, I need to pass more than one value to next form using header function.this is my sample code. header('location:option.php?$uname='.$myusername.'+password='.$mypassword); i am able to pass single value,but when i tried with more than one value as above,i am facing the problem please help me.In second page i retrive the values … | |
I have been trying on this code for so long but I can't seem to find out why the rows could not be displayed / could not be fetched. The checkboxes are present but no info Please help! :(( [code=php]<?php $host="localhost"; // Host name $username=""; // Mysql username $password=""; // … | |
[CODE]$realUser = mysql_query("SELECT Username FROM my_db WHERE Username = $user ");[/CODE] This is not storing the $user value to $realUser. I am correctly using $_REQUEST['user'] to retrieve the value for $user from a form, and I am connected to my database. I understand there is an issue with PHP variables … | |
I installed php (4 i think) and added the extension to iis. When I try to view a php file through the web browser, I get the following error: [quote] [b]CGI Error[/b] The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did … | |
I have a issue with displaying wether a ADMIN or a USER on my forum. If a user is ADMIN then it displays the user as ADMIN but if the user isn't an ADMIN it still displays it as ADMIN which I dont want. Could somebody please check my code. … | |
I am using cubecart as the shopping cart for my website, I want to change the Order confirmation message from "Thank you, your order was successful and payment has been made! Your goods will be dispached as soon as possible. Please visit again soon." to the following message: [code] Thank … | |
Hi i write a code for uploading images and re-size it in my site. I need to do a watermark in uploaded images. Please help me.. The code is as follows : [ICODE]$finalfilename="share/".$final_file; $src = $po($finalfilename); list($width,$height)=getimagesize($finalfilename); $newwidth=300; $newheight=200; $tmp=imagecreatetruecolor($newwidth,$newheight); imagecopyresampled($tmp,$src,0,0,0,0,$newwidth,$newheight,$width,$height); $filename = "share/".$final_file; imagejpeg($tmp,$filename,100); imagedestroy($src); imagedestroy($tmp);[/ICODE] Please help me … | |
hey there this problem stuck me out how to display url like this [CODE]http://www19.domain.com/548ecedd7f87970e986dc19077ef2edd.rar[/CODE] [CODE]preg_match_all('#^(?:http://)www[0-99]([^/]+)#i',$url,$parts); foreach ($parts[1] as $test) { echo 'hehehe '. $test; }[/CODE] and the result is: [CODE] hehehe 9.domain.com[/CODE] it just stuck me out i'm already search the answer at least 5 hours :( i do not … | |
have a script which i found online,through google for uploading and resizing photos when they are uploaded. It works well,the only problem is that there are some images when i upload them they are not detected as a file,but others are uploaded well. for example image of this properties is … | |
im using dreamweaver everytime i preview my templates the image did not load in browser? please help. . | |
well first all, thanks for all help i have recive here before, just to make things cleare just cuse i olmoust got someone in trouble on other forum, this is not to make something ilegal or to cuse any spam. is for a privete forum and support i have!! this … | |
this code was working fine until i changed the way the site loads the content (it now loads the content into a div tag) and since then it will not populate the menu. the page can be viewed at [URL="http://acmeart.co.uk/pip_new"]this site[/URL] you will need to go to the sub links … | |
hello All please help i have a website i got from Geodesic. but wen i try to log on to the backend /admin i get this error: The specified CGI application misbehaved by not returning a complete set of HTTP headers. please help anyone. | |
i have these two pages of information which are stored on a php page which then feeds the main div tag on the index page. the problem i have here is that a scrollbar shows up on the first page but not the second. so to see the rest of … | |
In php if we provide a particulr date how to display the name of the day i.e; whether that day lies on sunday or monday... Can you please give me idea. | |
hi i have a date in which i want to add the the days .and find the date. | |
hai friends How to paly song when page laod using php code? I my php application when i load the home page automatically pale song Its possible !! ??Please give me any idea Thanks vssp | |
Hello, all I want to implement the required portfolio function and print out the customers related symbol name, symbol buyin price ,symbol quantity, symbol last trade price, the changes etc But i found some issues with it. Here is my code: [code=php] //fetch the element from mysql while ($row = … | |
[CODE] $expiredate='2009/03/31'; $cdate='2009/03/03'; $dateDiff = $expiredate - $cdate; $fullDays = floor($dateDiff/(60*60*24)); [/CODE] the above method i am using to find the difference between two date.but it is not working.can any one tell me how to find the difference using php. | |
This is urgent. I have a complied php file, the file appears to have been run through an intentional obfuscation process with something called ionCube. I need someone to de compile this file to source file ASAP. Please contact me at <SNIPPED> so I can send this file to him | |
Hi all On my test Apache (2.2.11) & PHP (5.2.8) server, as most will be no doubt aware, placing custom php.ini files in individual document root directories override the directives in the master php.ini file which is in "/etc/httpd". Whilst this can be a useful feature, there are certain directives … | |
So here is my problem. I have developed guestbook's and comment systems before, however they were simply used on one page and used the auto increment feature to seperate enteries. Each entry was stored on a seperate row in my database and they were organized by an array when called. … | |
I think, we would need cURL only for cross domain applications. I mean if I use pages stored under same domain then I should simply use POST rather than cURL. Is this right? Also, For example: how do i check if username=1 and password=2 in check.php page and return TRUE … | |
I have a query that was working fine, but I recently switched hosts. I couldn't tell you what version of MySQL was on the old host, but I am now on version 5.0.67. The query asks for multiple fields using AND and LIKE. My error message is telling me there … | |
Hello, I'm pretty new to PHP and MySQL. I was wondering what the most efficient way to access a large database would be. All the tutorials I've seen show something along the lines of: [icode]$database = mysql_query("SELECT * FROM table");[/icode] But it seems to me that if 'table' was a … | |
Hello, I have a bit of a problem, I am think its not the script that has the problem, but wanted to be sure before contacting the server masters. In my website, I can make cookies, and sessions, I can echo them successfully. But when I logout, it doesn't work, … | |
Hi, all I have one assignment about implement the stock website. i stuck in some problem which i can't solve. i want to implement one function which all the $row related to the $result in sql and for each row initialize the class once. i found if i gave the … | |
hi on my index.php page i'm calling several php functions with html embedded in the php so that the interface changes with different function calls. my problem is in one function, i'm using a button to whose onclick calls php function in another page to store field values in my … | |
I just created a mysql with php scripts to manage it. I had quite a time finding security for the output. Finally got htmlprotector to do it for not only php script but the php generated output with the output data from mysql database. I got the php script from … | |
Hi I have a tiny problem, the emails outgoing from my website are all going to hotmail and are for some reason un-openable. You have to click the 'This message has been blocked for your safety. Open message' in the red box at the top of the message. I have … |
The End.