39,326 Topics

Member Avatar for
Member Avatar for rajeesh_rsn

Please any one give the idea of crop uploaded image using php Please help Thanks in advance Rajeesh

Member Avatar for 3magine
0
95
Member Avatar for Acute

When you open Excel file with Internet Explorer, Save/Open/Cancel dialog box appears. How to avoid it and directly open it??? P.S=>IE can open and edit Excel files online....but there is no guaranty that client will open file using IE...however, i could not find another way to perform my goal...((((

Member Avatar for ShawnCplus
0
49
Member Avatar for cwarn23

Hi, I have a website full of code snippets at [URL="http://syntax.cwarn23.info/PHP:_Contents"]http://syntax.cwarn23.info/PHP:_Contents[/URL] but I need some ideas of small scripts that I can make for the example list. So there are some examples of what I have done at that link but I don't want the examples to be too complex. …

Member Avatar for cwarn23
0
79
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 tux4life
0
87
Member Avatar for srilakshmitr7

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.

Member Avatar for srilakshmitr7
0
130
Member Avatar for cutieams

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

Member Avatar for cwarn23
0
111
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
259
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
403
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
121
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
407
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
112
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
304
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
13K
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
193
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
214
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
101

The End.