39,323 Topics

Member Avatar for
Member Avatar for dirtydoug08

hello, i have a website that has my portfolio its running almost 5 months until one day my host server crash and failed to recover my files and some data now i am stuck again with this simple code like before i have made a solution before but that was …

Member Avatar for dirtydoug08
0
123
Member Avatar for vanessia_1999

Hi everyone, I am new to PHP and I am not understanding some of it functions and rules on how to do things. I have a few questions but I will work on one at time so that I can understand and absorb the information giving to me. The problem …

Member Avatar for vanessia_1999
0
111
Member Avatar for rajeesh_rsn

Hi i wrote a code for image upload and watermarking. It is working fine in Jpg but not in gif.... The code is [ICODE] $ext = end(explode('.', $final_file)); if($ext == 'jpg'){ $ext_new = 'jpeg'; } elseif ($ext == 'JPG' || $ext == 'JPEG'){ $ext_new = 'jpeg'; }else { $ext_new = …

Member Avatar for cwarn23
0
226
Member Avatar for silh

Hi guy I've been having a weird situation for a couple of day... I have this button that is suppose to pass parameter in the $_GET array but it doesn't. Here is the code: [code] <html> <body> <form action="test.php?action=test" method="get"> <input type="submit" value="Test"/> </form> </body> </html> [/code] what happens when …

Member Avatar for silh
1
273
Member Avatar for ashafaaiz

Hi, How can i upload a text file using move_upload_file() in php because it returns error like Warning: move_uploaded_file(/thenewcareers.com/httpdocs/newcareers/demo/jobseeker/resumes/email.txt) [function.move-uploaded-file]: failed to open stream: No such file or directory in D:\inetpub\vhosts\thenewcareers.com\httpdocs\newcareers\demo\jobseeker\upload.php on line 19 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\Windows\Temp\php99A0.tmp' to '/thenewcareers.com/httpdocs/newcareers/demo/jobseeker/resumes/email.txt' in D:\inetpub\vhosts\thenewcareers.com\httpdocs\newcareers\demo\jobseeker\upload.php on line 19 if anyone …

Member Avatar for cwarn23
0
179
Member Avatar for vidhyaponnusamy

Hi, I'am new to PHP but i'am currently doing the project in PHP only,i want to use function return values in another form,the return value is a value retrieved from MYSQL,just see my code ------------------------------------------------ form1//where i calling my function [code=php]selecttbl("user"); while($row=mysql_fetch_array($result)) { for ($i=0; $i<mysql_num_fields($result); $i++) echo $row[$i] . …

Member Avatar for vidhyaponnusamy
0
82
Member Avatar for prawin@123

Hi I am new bee to JS and PHP, i have a code to display the images from directory in the path C:\wamp\www\prawin\new\locations\test\admin But this code didnt works . can any one help me. My code is [ICODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> …

0
69
Member Avatar for queenc

hi, in my application i have using editor for the jobseeker to paste their resume.butthe editor is not working properly can anybody tell wat is are alternative.i wanted the user pasted data to as it is when it is viewed thanks

Member Avatar for queenc
0
84
Member Avatar for BzzBee

hello I want to execute some queries at specific date with out any action on event(i.e on load, on change). I want the file placed on my server will automatically execute at the first of every month. would you help me????? Its Urgent..

Member Avatar for BzzBee
0
148
Member Avatar for veledrom

Hi, I want use Drupal to develop an example web site. I have installed Drupal and done database things. It is ready to go. But how do i create pages. I think it is not same as what we do in Dreamveawer. Thanks

Member Avatar for ithelp
0
46
Member Avatar for darkagn

Hi all, I am trying to run a javascript function, RH_ShowHelp, that is stored in the file RoboHelp_CSH.js. The function itself should open a popup window containing our product's help system (written with Adobe RoboHelp) and the javascript file was supplied by Adobe as the standard call. I have managed …

Member Avatar for hemasow
0
20K
Member Avatar for cwarn23

Hi, I'm making a site security tester which is basically a bot that scans a selected website for any php security holes such as sql injections then reports them to the user. I have managed to write the bot and all but the last piece left is the function that …

Member Avatar for cwarn23
0
187
Member Avatar for alpha_gear

I'm doing a project and our structure of our page should be based to a current XML. now i am having difficult to find out how to generate the simpleType SOAP value found in the XML. and XML code looks like this. ... <simpleType name="useraccount"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="username"/> <xsd:enumeration …

0
62
Member Avatar for alpha_gear

I'm doing a project and our structure of our page should be based to a current XML. now i am having difficult to find out how to generate the simpleType SOAP value found in the XML. and XML code looks like this. ... [code=xml]<simpleType name="useraccount"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="username"/> <xsd:enumeration …

Member Avatar for junrest
0
178
Member Avatar for TheWhite

I've spent hours trying to get this to work, but I can't seem to figure it out. This site has been good to me with my java problems and I saw this php section so I figured I'd come back and give it a try. What I have and assume …

Member Avatar for TheWhite
0
1K
Member Avatar for EPierre

How can the user obtain a specific result by choosing values from 2 dropdown list. As a result, the value obtained can not be modified by the user.The table of ten rows by ten columns have to be stored in a mysql dbase.. It's certanly possible , but tedious and …

Member Avatar for EPierre
0
138
Member Avatar for thompson007

I want to check weather or not a string contains (alpha numeric characters and "-") only without spaces and other stuff... *but it must contain atleast one alpha numeric character and a maximum of two "-" example: value could be "-asd-"or "ads-" or "asd7" or "ads or "a-7ds" I am …

Member Avatar for ShawnCplus
0
64
Member Avatar for Borderline

I'm experiencing problems with this gallery tutorial - the following error message is being displayed: [B]Error message: Parse error: syntax error, unexpected T_ECHO in /equinefocus.co.uk/photos/2009-03-21/gallery.php on line 87[/B] I've tried altering line 87 but had no success so far. I removed lines 86-88 out of interest, but the error messageindicated …

Member Avatar for chrishea
0
207
Member Avatar for mrcniceguy

In my website i want to introduce a link where people will see who joined the site for example today,yesterday one week ago,2week ago and one month ago... how i`m i going to do this in php?

Member Avatar for darkagn
0
121
Member Avatar for chrishea

If you are still using AVG anti-virus Version 7 and you're about to install the latest version in response to the threats about end of support for Version 7, be aware that there are a couple of problems: [LIST] In Vista, the install can have a problem if User Account …

Member Avatar for cwarn23
1
120
Member Avatar for ekachai_sing

I use MySQL-Front tool create and call Stored Procedure successfully, but in my PHP code and phpMyAdmin it fails. How can i figure out this problem when i run on phpMyAdmin the error show #1305 - PROCEDURE joomla1.5.9.save_orders does not exist this is my code of procedure [code=sql]DROP PROCEDURE `save_orders`// …

Member Avatar for pritaeas
0
178
Member Avatar for santhanalakshmi

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 …

Member Avatar for santhanalakshmi
0
70
Member Avatar for xila

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=""; // …

Member Avatar for nav33n
0
127
Member Avatar for baudday

[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 …

Member Avatar for nav33n
0
704
Member Avatar for Phaelax

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 …

Member Avatar for nav33n
0
129
Member Avatar for rEhSi_123

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. …

Member Avatar for darkagn
0
120
Member Avatar for arvindikchari

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 …

Member Avatar for arvindikchari
0
133
Member Avatar for rajeesh_rsn

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 …

Member Avatar for rajeesh_rsn
0
76
Member Avatar for murray_ramadhan

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 …

Member Avatar for murray_ramadhan
0
60
Member Avatar for mrcniceguy

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 …

Member Avatar for mrcniceguy
0
160

The End.