39,320 Topics

Member Avatar for
Member Avatar for OmniX

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 …

Member Avatar for darkagn
0
136
Member Avatar for rm_daniweb

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 …

Member Avatar for rm_daniweb
0
258
Member Avatar for rm_daniweb

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

Member Avatar for Upsilon
0
402
Member Avatar for deepika1

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

Member Avatar for OmniX
0
59
Member Avatar for totalnoob

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 …

Member Avatar for totalnoob
0
111
Member Avatar for jazdmarkets

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?

Member Avatar for HITMANOF44th
0
75
Member Avatar for JimD C++ Newb

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 …

Member Avatar for JimD C++ Newb
0
120
Member Avatar for Tekmaven

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 …

Member Avatar for samarudge
0
404
Member Avatar for Roybut

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 …

Member Avatar for Roybut
0
97
Member Avatar for sureronald

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 …

Member Avatar for sureronald
0
97
Member Avatar for akash_msrit

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 …

0
40
Member Avatar for srilakshmitr7

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.

Member Avatar for srilakshmitr7
0
134
Member Avatar for forzadraco

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

Member Avatar for rm_daniweb
0
148
Member Avatar for veledrom
Member Avatar for duxbrain

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 …

Member Avatar for nav33n
0
111
Member Avatar for php_coder

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

Member Avatar for morecambe
0
302
Member Avatar for rm_daniweb

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 …

Member Avatar for Ezzaral
0
12K
Member Avatar for Borderline

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 …

Member Avatar for Will Gresham
0
191
Member Avatar for cakka

Hi, i want to create a subdomain drupal from myweb.com/forum to be forum.myweb.com Any body can tell me how ? Thanks

Member Avatar for chrishea
0
71
Member Avatar for Acute

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 …

Member Avatar for chrishea
0
69
Member Avatar for jyotiu

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

Member Avatar for cwarn23
0
121
Member Avatar for OmniX

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 …

Member Avatar for cwarn23
0
213
Member Avatar for tortoiseman

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 …

Member Avatar for tortoiseman
0
136
Member Avatar for baudday

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

Member Avatar for baudday
0
100
Member Avatar for punitdam

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 …

Member Avatar for nav33n
0
199
Member Avatar for ChintuChowdary

HI TO ALL... how to find and get mac address using php. THANKS IN ADVANCE..........

Member Avatar for ChintuChowdary
0
106
Member Avatar for Acute

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 …

Member Avatar for jbennet
0
103
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
110
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
225

The End.