|
|
|
Search for php foreach.
Search results: php : 103659, foreach : 23.
|
Results 1-9 of 9.
Search took 0.162 seconds
|
| 827643 documents in database |
- 1.
Computer Forums - View Single Post - errors unexpected t_string using php mail function
[8.889% Popularity: 0.00000]
-
|
Thread errors unexpected t_string using php mail function View Single Post 03-10-2006, 04:01 PM # permalink office politics Dope Tech Join Date: Jan 2004 Posts: 3,590 errors unexpected t_string using php mail function PHP Code: <?php foreach ( $_POST as $key => $value ) $message = $message $key ... = 'From: ' . $_POST [ "Email" ] . "\r\n" 'Reply-To: ' . $_POST [ "Email" ] . "\r\n" 'X-Mailer: PHP/' . phpversion (); //echo $message; if mail "email@domain.com" , "Contact Us Page" , $message , ...
|
|
|
- 2.
Computer Forums - View Single Post - errors unexpected t_string using php mail function
[7.211% Popularity: 0.00000]
-
|
Thread errors unexpected t_string using php mail function View Single Post 03-15-2006, 04:12 PM # permalink office politics Dope Tech Join ... () im sorry, you're correct. i needed to enclose the mail function in (). Here's the working code. PHP Code: <?php foreach ( $_POST as $key => $value ) $message = $message $key " - " $value "\r\n" ... = 'From: ' . $_POST [ "Email" ] . "\r\n" 'Reply-To: ' . $_POST [ "Email" ] . "\r\n" 'X-Mailer: PHP/' . phpversion (); //echo $message; if ( mail "email@domain.com" , "Contact Us Page" , $message , ...
|
|
|
- 3.
Reverse Engineer Small Xfree86 Script - Ubuntu Forums
[5.074% Popularity: 0.00000]
-
|
... like /dev/ttyS0, /dev/psaux, or /dev/gunzets (USB device)" exit 1 } proc which cmd { global env foreach n [split $env(PATH) :] { if [file executable $n/$cmd] {return $n/$cmd} } error "$cmd: no such ...
|
|
|
- 4.
Feisty Deprecated Package Woes - Ubuntu Forums
[5.019% Popularity: 0.00000]
-
|
... open $file : $!"; while ( <FILE> ) { $i++; chomp; push @lines, $_; last if $i==209; } close FILE; foreach (\@lines) { next unless -f; next if -e; # if it's a regular file that exists, skip this pass # or ...
|
|
|
- 5.
Update Manager Causes freeze *Urgent* - Page 2 - Ubuntu Forums
[4.776% Popularity: 0.00000]
-
|
Products What is Ubuntu? Download Get Ubuntu Software Catalogue Merchandise Case Studies Support Community Documentation Commercial Training Community Code of Conduct Get Involved Report a Problem The Ubuntu Story Partners Partner Programme Programme Tracks Case Studies Software Programme Hardware Programme Find a Partner News Spotlight Security Notices The Fridge Planet Ubuntu Press Releases Media Contact earch go Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > Hardware & Laptops Update Manager Causes freeze *Urgent* User Name Remember Me? Password Home Forum Help Gallery RSS Feeds Register Search Today's Posts Mark Forums Read Hardware & Laptops: Problems with hardware & laptops not being detected or supported during or after install. Unanswered Posts Welcome to the Ubuntu Forums. Welcome to the Ubuntu Forums, we encourage you to REGISTER on our forums and participate in the community. Ubuntu is a complete Linux-based operating system, freely available with both community and professi...
|
|
|
- 6.
errors unexpected t_string using php mail function - Computer Forums
[2.301% Popularity: 0.00000]
-
|
... Computer Forums > Programmers Lounge > Programming Discussions errors unexpected t_string using php mail function User Name Remember Me? Password Register FAQ Members List Calendar Search Today's ... office politics Dope Tech Join Date: Jan 2004 Posts: 3,590 errors unexpected t_string using php mail function PHP Code: <?php foreach ( $_POST as $key => $value ) $message = $message $key ... = 'From: ' . $_POST [ "Email" ] . "\r\n" 'Reply-To: ' . $_POST [ "Email" ] . "\r\n" 'X-Mailer: PHP/' . phpversion (); //echo $message; if mail "email@domain.com" , "Contact Us Page" , $message , ... want multiple statements to run i have this code that works. it is a part of an unrelated script PHP Code: function insert $x , $stack , $table ) { $query = "insert into " $table " set " //move data ... next $stack ); //Move to data entry if( is_array pos $stack ))) { //Is data entry from checkboxes? foreach( pos $stack ) as $element ) // Each checkbox entry $query = $query $element "," ; //gets added to ...
|
|
|
- 7.
update records using php and mysql - Computer Forums
[1.788% Popularity: 0.00000]
-
|
Computers Computer Forums > Programmers Lounge > Programming Discussions update records using php and mysql User Name Remember Me? Password Register FAQ Members List Calendar Search Today's Posts ... 01:21 PM # permalink msaunders Newb Techie Join Date: Jul 2005 Posts: 13 update records using php and mysql Hi All, haven't been here in awhile, good to be back..lol..anyways. I stuck on trying to ... into the mysql db. I started this project before studying for my dba so please bare with me. The php script starts out with a setup for the server parameters and connects to the db. Next, we see some functions which we'll get back to. It grabs all the POST data in the foreach loop. Stack has fieldname and then the data pushed onto it. This script then echos the values out ... a single table; for instance a list of people representing their agency. i attached the html form. PHP Code: <?php //table field lengths //server info $location = "127.0.0.1:3306" ; $username = ...
|
|
|
- 8.
Computer Forums - View Single Post - update records using php and mysql
[0.729% Popularity: 0.00000]
-
|
Thread update records using php and mysql View Single Post 06-06-2006, 03:59 PM # permalink office politics Dope Tech Join Date: ... into the mysql db. I started this project before studying for my dba so please bare with me. The php script starts out with a setup for the server parameters and connects to the db. Next, we see some functions which we'll get back to. It grabs all the POST data in the foreach loop. Stack has fieldname and then the data pushed onto it. This script then echos the values out ... a single table; for instance a list of people representing their agency. i attached the html form. PHP Code: <?php //table field lengths //server info $location = "127.0.0.1:3306" ; $username = ... next $stack ); //Move to data entry if( is_array pos $stack ))) { //Is data entry from checkboxes? foreach( pos $stack ) as $element ) // Each checkbox entry $query = $query $element "," ; //gets added to ...
|
|
|
- 9.
Visitors IP address - Page 2 - Computer Forums
[0.353% Popularity: 0.00000]
-
|
... of the nail.. i have joined tripod.lycos.com and they are giving me ftp uploader, sql database and php support, so now Mr. Xula rest all is up to you, i guess we can use that sql thing and querry with ... store that Ip address, can't we??? regards Ok now that were in business, try adding the following php script to your index.html file, PHP Code: <?PHP function getClientIP () { $ip = if (!empty( ... ", " , $_SERVER [ 'HTTP_X_FORWARDED_FOR' ]); if ( $ip ) { array_unshift $ipList , $ip ); $ip = } foreach ( $ipList as $v if (! eregi "^(192\.168|172\.16|10|224|240|127|0)\." , $v )) return $v } return ... address bar.. Ok i tried adding it to index.html too and it didn't work, but if you upload that php script as a single php file, and then hit it with your browser it will work. __________________ ... Join Date: Jun 2004 Posts: 312 Wait, make a backup of index.html, and delete it, then upload the php script as index.php, then hit your site __________________ **[System specs]** Delphi Enterprise ...
|
|
|
Result pages: | | | << Prev |
1 |
Next >> |
|
|
|