39,323 Topics
| |
What is the FTP server? Please tell me the key of the Renames a file or directory on the FTP server, Changes the current directory to the parent directory on the FTP server? | |
How to get Ip address and MAC address of system for an IP address i tried this code [icode]echo $ip=GetHostByName($REMOTE_ADDR);[/icode] But after uploading through FTP i'm getting Server ip But i want local system IP can any one solve problem. | |
i am new to php..can anyone help me with the basics of PHP. i mean after installing php,how do i save my first PHP file. i mean saving that file as .php i know ..but in which folder should i save it and after saving how do i run myprogram. … | |
Hi imagedestroy()[url]http://au.php.net/imagedestroy[/url] I was just wondering because php.net states in the manual that it destroys the memory associated with the image rather than the image stored in the "/tmp" folder. Is this true? Also how can you change your default tmp directory? I think you go into the php.ini file … | |
You can include cc: and bcc: [ICODE] //filename: html_mailer.php class htmlMailer { function sendWelcomeHTMLMail($email, $age, $sex){ $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= "From: ".EMAIL_FROM_NAME." <".EMAIL_FROM_ADDR.">\r\n"; //define constants $headers .= 'Bcc: [email]email1@msn.com[/email], [email]email2@yahoo.com[/email], [email]email3@aol.com[/email]' . "\r\n"; $subject = "Welcome!"; $message = <<<EOT … | |
[ICODE]<?php error_reporting(E_ALL); $to = 'whom@yahoo.com'; $subject = 'The Playboys!'; $message = ' <html> <head> <title>TESTING!</title> </head> <body> <p>Playboy in the Philippines</p> <table> <tr> <th>Name</th><th>Sex</th><th>Age</th><th>Vitamin</th> </tr> <tr> <td>Tukmol</td><td>Twice a Day</td><td>75</td><td>Viagra</td> </tr> <tr> <td>Tamulmol</td><td>M ...W.....F</td><td>80</td><td>Tongkat Ali</td> </tr> </table> </body> </html> '; // Content-type header $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= … | |
i have installed a new open source cms i would like to add up the login session unset session and destroy the session i wanted to know where do i place the coding. i have no idea about php any help would be appreciated | |
Hi everyone! As u can see by my username, I'm a newbie in PHP. Now to the question: I have made a site that extracts data (in my case movies) that logs in a user and shows all data that the user has entered as a table. I've written some … | |
What is the FTP server? Please tell me the key of the Renames a file or directory on the FTP server, Changes the current directory to the parent directory on the FTP server? | |
Good morning! What I am trying to do is: display some text, wait 3 seconds (so the person can read it) and redirect that person to a different web page. I can get it to either: 1 - Display the text or 2 - Sleep(3) and redirect them to the … | |
I know a lot of vBulletin people view these forums, and some of the developers are Moderators here. So, the question is, would you guys ever convert over to ASP.NET? I'm not saying dump php, just run on two different systems. If you guys did, I know you would make … | |
Hi, I need to populate a drop down box with size and colour values from my db. I have got it working but it just seems to be too clunky. I'm going to be marked on it and so would like to know where I'm going wrong. What I do … | |
I have 2 questions to ask: (1) I have been doing php for quite some time and I would like to know how a link such as this one works: [url]http://www.rooftop.com/forums/index.php?do=login&f=31[/url] My problem is the part that comes after the question mark. I have been using joomla of late and … | |
hi friends , i made a login page, and i made a logout button too, but i want to make a timed logout, i mean after 5 min for example the user is logout automatically.(i.e i should log out from inactive web page after 5 mins) need source code or … | |
Can any one give me some idea regarding how to calculate second and fourth saturdays i did based on time whenever i change system time it results in tuesdays insetad of saturdays. | |
[code]mail($to,"Discount offer",$message,"From: noreply@bisnis-indonesia.biz\n MIME-Version: 1.0\n Content-type: text/html; charset=iso-8859-1 \n Reply-To: promo@bisnis-indonesia.biz\nX-Mailer: PHP/");[/code] why is not didn't work [url]www.bisnis-indonesia.biz[/url] ? server problem or code problem ? | |
Hi I just came across this site while seeking some information. It looked way to nice not to stop and register here. I am old skool geek. DOS/FOXPRO DOS Pre 3.0 Windows. BBS software. ETC Who is way behind in programming technology, I can rip apart a PHP program make … | |
hi all could someone plz help me out in validating csv file(excel sheet) before i can insert it into the database?:?: i hv the code for uploading but not validating reply ASAP. cheers coder | |
Hi All, Some website said the we cannot run php function in javascript because php is on server side and javascript is on client side. My code will help us to run a php function when you type something on the textbox given below. [icode] <?php function myfunction(){ $x="I love … | |
| I'm trying to develop a web gallery, but have been struggling with laying out the thumbnails, and paginating the results. I found a tutorial, but have been experiencing problems with it. Can anyone point me in the right direction? Current result: [url]http://www.equinefocus.co.uk//photos/2009-03-21/gallery.php[/url] Current code: [CODE] <?php // Connects to your … |
Hi, i want to create a subdomain drupal from myweb.com/forum to be forum.myweb.com Any body can tell me how ? Thanks | |
Anyone knows how to just view the Excel doc in a browser, so that it can be editable(it saves the changes when you close the browser tab)?? Try to open xls file with IE and it will ask you:Open or Save? Click on Open button and you will see what … | |
Hi all I am using CURL to reach a page ,now i want to extract this from the page [ICODE] <object classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616" width="640" height="303.33333333333" codebase="http://go.divx.com/plugin/DivXBrowserPlugin.cab" id="object701207571"> <param name="autoPlay" value="false" /> <param name="custommode" value="Stage6" /> <param name="src" value="" /> <param name="movieTitle" value="Titanic" /> <param name="bannerEnabled" value="false" /> <param name="previewImage" value="http://stagevu.com/img/thumbnail/oripmqeqzrccbig.jpg" /> … | |
List of possible php functions validation: strip_tags() nl2br() htmlspecialcharacters() escapeshellarg() addslashes() stripslashes() realpath() basename() umask() is_uploaded_file() move_uploaded_file() magic_quotes_gpc() mysql_real_escape_string() Now obviously some of these are not required for input validation but I thought I might as well list them. Now I would like to make some function to check against … | |
Hi, I've never used PHP before so I don't even know if I'm posting in the right place, but I'm wondering if it's possible to scrape information from a dictionary-like Web page. I want to take a list of words and retrieve piece of information about each word, but the … | |
Can anyone provide me some tips on user management using php? What do you consider to go about registering users and allowing them to login.? | |
Hi, I am new to PHP and Mysql development . I had installed RHEL5 Server, Apache, PHP5 and MYSQL5.1. I got below script which actually give status of the Apache, PHP and MYSQL. [code] <?php session_start(); ?> <!-- INSTRUCTIONS: 1. Please copy this file anywhere in the DocumentRoot of your … | |
HI TO ALL... how to find and get mac address using php. THANKS IN ADVANCE.......... | |
Hi everybody! I have a problem here while using an http authentication: when you open the page with http-auth code in the browser, the user-name and password box appears-it is Ok, however, I can't make the user-name&password box to apperar again....For example, if you login wrong user-name or pw you … |
The End.