[PHP] User defined function problem
Hey Guys and Gals, I am having a small problem with a user defined function, I placed it in a config file and it works as expected, but the problem seems to arise only when I try to use my login script for a members area I am redeveloping. The error message that comes up is the following: Fatal error: Cannot redeclare clean_sql() (previously declared in C:\Apache2\htdocs\braille\config.php:94) in C:\Apache2\htdocs\braille\config.php on line 108 The problem is its claiming that I am trying to redeclare the function in the config file when there is only the original function. I checked in other area's where this config file is being used and I do not get this error. Nor am I including other files that have the config included in them. The problem is only in my login script. If anyone can give me a little insight into this error I would be greatly appreciated. Best Regards, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] User defined function problem
Thanks Jon, That did the trick nicely, not sure why I didn't think of it myself but is glad for the reminder of what that function is for. :) Best Regards, Steve Jon Anderson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This would be the simplest work-around I can think of. In your config script, wrap an if around your function call: if (!function_exists('clean_sql')) { function clean_sql() { ... } } jon Stephen Lake wrote: Hey Guys and Gals, I am having a small problem with a user defined function, I placed it in a config file and it works as expected, but the problem seems to arise only when I try to use my login script for a members area I am redeveloping. The error message that comes up is the following: Fatal error: Cannot redeclare clean_sql() (previously declared in C:\Apache2\htdocs\braille\config.php:94) in C:\Apache2\htdocs\braille\config.php on line 108 The problem is its claiming that I am trying to redeclare the function in the config file when there is only the original function. I checked in other area's where this config file is being used and I do not get this error. Nor am I including other files that have the config included in them. The problem is only in my login script. If anyone can give me a little insight into this error I would be greatly appreciated. Best Regards, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: User defined function problem
Thanx Jon and Jochem for the reminders, they were much appreciated. :) Best Regards, Steve Stephen Lake [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hey Guys and Gals, I am having a small problem with a user defined function, I placed it in a config file and it works as expected, but the problem seems to arise only when I try to use my login script for a members area I am redeveloping. The error message that comes up is the following: Fatal error: Cannot redeclare clean_sql() (previously declared in C:\Apache2\htdocs\braille\config.php:94) in C:\Apache2\htdocs\braille\config.php on line 108 The problem is its claiming that I am trying to redeclare the function in the config file when there is only the original function. I checked in other area's where this config file is being used and I do not get this error. Nor am I including other files that have the config included in them. The problem is only in my login script. If anyone can give me a little insight into this error I would be greatly appreciated. Best Regards, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: headers and newline at end of script
As far as getting the header error resolved, try this: http://ca3.php.net/manual/en/function.ob-start.php HTH Steve Robert Cummings [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Thu, 2006-07-20 at 14:15, Martin Marques wrote: On Thu, 20 Jul 2006 13:06:10 -0400, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2006-07-20 at 12:12, Adam Zey wrote: Martin Marques wrote: Now, my question is: Is it a bad practice to NOT close the script with the PHP closing ?? I mean, just leave the script without a closing PHP simbols, as this scripts are included? Yes. Wrong :) Why? ;-) See links I posted in previous response :) Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] headers already sent.
There is no real way of knowing if output is going to be sent before a header or not, unless its a very simple page. Your best bet is to investigate the output buffering functions here: http://www.php.net/manual/en/ref.outcontrol.php HTH Steve P. Guethlein [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 10:30 PM 04/07/2006, you wrote: Comment inline: Thanks, I just found that out after, well I don't want to say how long it took smile. Is that just the way things are in PHP or is there a command / configuration to make something like this more obvious? Hmmm. maybe the IDE I'm using? Using EnginSite. Is there a better one for a Windows Environment ? ( head banging against wall ) -Pete P. Guethlein wrote: (Know enough to be dangerous beginner...) Routine for a web login asked user name and password. User Name is entered correctly. Password is Incorrect. Next Try. User Name is enter correctly. Password is Entered Correctly. PHP notifies me on the html output that I am logged in. However, an error is appearing in text above the html output. It states Warning: Cannot modify header information - headers already sent by (output started at D:\webpages\\users.inc:11) in D:\webpages\\web\loginfunctions.php on line 26 Users.inc is == ?php $domain = 'localhost'; $admin = 'x'; $user = 'x'; $web = 'x'; $password = 'xx'; $site = 'x'; $leads = 'x'; ? This gap right here, it's outputting a carriage return and/or linefeed. headers get sent on the first character of output being sent. ?php // Configuration settings for My Site // Email Settings $mailsite['from_name'] = 'x Website'; // from email name $mailsite['from_email'] = '[EMAIL PROTECTED]'; // from email address // Just in case we need to relay to a different server, // provide an option to use external mail server. $mailsite['smtp_mode'] = 'enabled'; // enabled or disabled $mailsite['smtp_host'] = 'mail..xxx;mail.x2.xxx'; $mailsite['smtp_port'] = '25'; $mailsite['smtp_username'] = null; ? === Line 26 from the loginfunctions.php file is //now redirect the user to whatever page they wanted. header('Location: index.php?href='.$link); == I can anticipate what the problem is with the notification that PHP gives me with the headers already output. However, it says 'headers already sent by users.inc', huh? Suggestions of where to look on this bug is appreciated! -Pete -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Using Header() to pass information...
Where's Chris when we need him? I would be interested in also hearing his thoughts here too. Jochem Maas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Todd Cary wrote: If I use if ($send) header(location: mypage.php?message= . $message); the data ($message) is passed in the URL. Is there a way to pass the data as though it was a POST method i.e. not in the URL? probably, but I don't know how off the top of my head. look into using $_SESSION instead and maybe even consider that you could save yourself a redirect by doing something _like_: if ($send) { $_POST['message'] = $message; include './mypage.php'; exit; } now sticking stuff into $_POST or $_GET probably isn't the best tactic - if a security guru could comment on that I'd appreciate it also! Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] IPN error
Use cURL I found it much easier then using fsockopen http://ca.php.net/cURL Richard Lynch [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sat, April 29, 2006 3:53 am, suresh kumar wrote: input type=hidden name=item_name value=Subscribe to Additional User Account Yearly my page code to process paypal -- ? // read the post from PayPal system and add 'cmd' $req = 'cmd=_notify-validate'; foreach ($_POST as $key = $value) { $value = urlencode(stripslashes($value)); $req .= $key=$value; echo $key = $valuebr /\n; } $item_name = $_POST['item_name']; $item_name = isset($_POST['item_name']) ? $_POST['item_name'] : ''; Undefined index:item_name The $_POST data is not filled in, either because this is your FIRST visit to the page, or because something is not doing a POST request the way you think it should be. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] IPN error
One more thing, make sure you validate ALL data that is being sent from paypal to ensure what you need and expect are therealso validate the transaction ID to ensure it was never used before. Stephen Lake [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Use cURL I found it much easier then using fsockopen http://ca.php.net/cURL Richard Lynch [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sat, April 29, 2006 3:53 am, suresh kumar wrote: input type=hidden name=item_name value=Subscribe to Additional User Account Yearly my page code to process paypal -- ? // read the post from PayPal system and add 'cmd' $req = 'cmd=_notify-validate'; foreach ($_POST as $key = $value) { $value = urlencode(stripslashes($value)); $req .= $key=$value; echo $key = $valuebr /\n; } $item_name = $_POST['item_name']; $item_name = isset($_POST['item_name']) ? $_POST['item_name'] : ''; Undefined index:item_name The $_POST data is not filled in, either because this is your FIRST visit to the page, or because something is not doing a POST request the way you think it should be. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] mod_rewrite help
BOL Now I wish I hadn't slept through Math Class in school Jochem Maas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] John Nichel wrote: Jay Blanchard wrote: snip ... How much wood could a woodchuck chuck if a woodchuck could chuck wood? While viewing a php web site that is. this might help in the calculation: http://www.netsoc.tcd.ie/~allah/backup/cgi-bin/woodchuck.php :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: file permission error
Your answer to your question can be found here http://www.php.net/manual/en/ref.filesystem.php suresh kumar [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am facing one problem in my project.I am uploading an image .its get storing in DB.i am storing images in /tmp folder as file.while i am retrieving a image its displaying file permission error.fopen() could not open socket.file permission error. A.suresh - Yahoo! India Answers Share what your know-how and wisdom Send free SMS to your Friends on Mobile from your Yahoo! Messenger Download now -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Syntax to call a class' methods in your own class
Here's a link to a series of 4 articles that explain aggregation in PHP.as this sounds like what you want to do. http://www.devshed.com/c/a/PHP/Object-Interaction-in-PHP-Introduction-to-Aggregation-part-1/ HTH Steve Graham Anderson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What is the correct syntax for calling methods from other classes into your own class ? Example: Calling the ADODB class with: $this-conn=ADONewConnection('mysql'); This works: $rs= $this-conn-GetAll(SELECT title FROM content WHERE page_id= ?, $id); This fails: while (!$rs-$this-conn-EOF) { // iterate through $rs } Can someone point me in the right direction ? I did not want to use 'Extends' because I wanted incorporate several pre-existing classes,like ADODB, into my own class I am more than a bit new at OOP so any help is appreciated. Code: ?php require (./adodb/adodb.inc.php); $PageBuilder = new PageBuilder(); $PageBuilder-getPageTextbyID($id=1); //-- class PageBuilder{ public function __construct() { $this-connect2db('localhost','u','p','db'); } public function __destruct() { # Close the db connection $this-conn-Close(); } // Methods within the PageBuilder Class // private function connect2db() { $this-conn=ADONewConnection('mysql'); $this-conn-Connect($server,$u,$p,$db); } public function getPageTextbyID($id) { // this query DOES work $rs= $this-conn-GetAll(SELECT title FROM content WHERE page_id= ?, $id); // ---Now iterate through $rs// // Original Iteration Code while (!$rs-EOF) { for ($i=0, $max=$rs-FieldCount(); $i $max; $i++) print $result-fields[$i].' '; $rs-MoveNext(); print br\n; //Failed: First Attempt using $this- while (!$rs-$this-conn-EOF) { for ($i=0, $max=$rs-$this-conn-FieldCount(); $i $max; $i++) echo the result is:. $rs-$this-conn-fields[$i].' '; $rs-$this-conn-MoveNext(); print br\n; } // Failed: Second Attempt using :: while (!$rs-conn::EOF) { for ($i=0, $max=$rs-conn::FieldCount(); $i $max; $i++) echo $rs-conn::fields[$i].' '; $rs-conn::MoveNext(); print br\n; } } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Syntax to call a class' methods in your own class
Here's a link to a series of 4 articles that explain aggregation in PHP.as this sounds like what you want to do. http://www.devshed.com/c/a/PHP/Object-Interaction-in-PHP-Introduction-to-Aggregation-part-1/ HTH Steve Graham Anderson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What is the correct syntax for calling methods from other classes into your own class ? Example: Calling the ADODB class with: $this-conn=ADONewConnection('mysql'); This works: $rs= $this-conn-GetAll(SELECT title FROM content WHERE page_id= ?, $id); This fails: while (!$rs-$this-conn-EOF) { // iterate through $rs } Can someone point me in the right direction ? I did not want to use 'Extends' because I wanted incorporate several pre-existing classes,like ADODB, into my own class I am more than a bit new at OOP so any help is appreciated. Code: ?php require (./adodb/adodb.inc.php); $PageBuilder = new PageBuilder(); $PageBuilder-getPageTextbyID($id=1); //-- class PageBuilder{ public function __construct() { $this-connect2db('localhost','u','p','db'); } public function __destruct() { # Close the db connection $this-conn-Close(); } // Methods within the PageBuilder Class // private function connect2db() { $this-conn=ADONewConnection('mysql'); $this-conn-Connect($server,$u,$p,$db); } public function getPageTextbyID($id) { // this query DOES work $rs= $this-conn-GetAll(SELECT title FROM content WHERE page_id= ?, $id); // ---Now iterate through $rs// // Original Iteration Code while (!$rs-EOF) { for ($i=0, $max=$rs-FieldCount(); $i $max; $i++) print $result-fields[$i].' '; $rs-MoveNext(); print br\n; //Failed: First Attempt using $this- while (!$rs-$this-conn-EOF) { for ($i=0, $max=$rs-$this-conn-FieldCount(); $i $max; $i++) echo the result is:. $rs-$this-conn-fields[$i].' '; $rs-$this-conn-MoveNext(); print br\n; } // Failed: Second Attempt using :: while (!$rs-conn::EOF) { for ($i=0, $max=$rs-conn::FieldCount(); $i $max; $i++) echo $rs-conn::fields[$i].' '; $rs-conn::MoveNext(); print br\n; } } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Want some PHP e-book
http://www.php.net/docs.php You can download a CHM for Windows as well as PDF's and HTML Versions prolibertine [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] i am a newbie of php .i want get some php ebook to read. who can send me some thx -- /** * Love in AJAX J2ME and Python * Look at my website and my blog * http://www.pinzui.cn * Ï£Íû±¦±¦¿ÉÒÔÓÀÔ¶¿ìÀÖ£¬ÄãÊÇ×î°ôµÄ¡£ **/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP and qmail
Hey all, Can someone tell me how I can send HTML using qmail from a Script? The MTA I was using was changed from Sendmail to qmail and now my HTML mails actually show the html tags in the mail body. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Text/Image Streaming in PHP for a web chat application
Hey all, After reviewing all the scripts written for a web chat application at the various sites (ie Hotscripts, cgi resource and so on) I have resorted to writing my own as none available fit my specific requirements. What I need to know is, how can I implement a server push alternative and/or text stream to a browser? or for that matter if anyone has code available or knows of code that is even remotely similar to IFCS (Interfun Chat Server http://www.interfun.com) they would be willing to share with me would be greatly appreciated. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] empty connection string
Its a first for me to hear to...never thought PHP and MS were married :D Jeroen Serpieters [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Fri, 21 May 2004, AMC wrote: Yes It's the first time I hear response.write() and php together ... confused :S -- Jeroen Describing the difference between computer hardware and software: Those parts of the system that you can hit with a hammer (not advised) are called hardware; those program instructions that you can only curse at are called software. -- From Levitating Trains and Kamikaze Genes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Newbie error with cookies and headers already declared
All headers have to be sent before any output is sent to the browser. Chris W. Parker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] GodFoca mailto:[EMAIL PROTECTED] on Friday, May 21, 2004 1:29 PM said: Warning: Cannot add header information - headers already sent by (output started at /home/tiempodemaria/main.php:3) in /home/tiempodemaria/main.php on line 11 [snip] Does anybody knows what's going on? I don't understand which header is being sent before the setting of the cookie, and I don't understand the :3 in the error description. This page is a frame, so I don't have any head tag, does that matter to php? headers != head it's basically this: 1. you cannot create/write a cookie after you send any html output to the client. 2. you cannot create/write a session value after you send any html output to the client. for one, you've got html at the very top of main.php. try rearranging your file like this: ?php define(SECONDS_IN_THREE_MONTHS, 3600*24*90); define(OFFSET_WITH_GMT, -3*3600); $has_visited = isset($_COOKIE[TdM_visited]); if (!$has_visited) { setcookie(TdM_visited, (string) (time() + OFFSET_WITH_GMT), time() + OFFSET_WITH_GMT + SECONDS_IN_THREE_MONTHS); // the above (not blank) is line 11 } else { $latestVisit = (int) $_COOKIE[TdM_visited]; setcookie(TdM_visited, (string) (time() + OFFSET_WITH_GMT), time() + OFFSET_WITH_GMT + SECONDS_IN_THREE_MONTHS); } ? html meta http-equiv=Content-Type ... link href=styles/main_style.css ... body ... hope this helps, chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: ColdFusion / SQL PHP / mySQL HELP!
Yeah tell your boss to get stuffed and that your not old enough yet to have a stroke ;) There is absolutely no way no one knowlegable and experienced in both languages can do it in a week no less a non programmer either -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] datetime formatting problem
Try strftime it allows you to take a timestamp created by time() and format it as required. heres the man page for it: http://www.php.net/manual/en/function.strftime.php Matt Newell [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] thanks a bunch torsten. it worked like a charm and i'm off to read up some more on strtotime. best, m. -Original Message- From: Torsten Roehr [mailto:[EMAIL PROTECTED] Sent: Friday, May 28, 2004 2:07 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] datetime formatting problem Daniel Clark [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Isn't date a reserved word? date and dateTime are not reserved in MySQL and can be used as column names. hi all - this is probably straight forward, but i'm learning and would appreciate any insight. i'm using the datetime type in mysql and have been able to successsfully pull the data records's date, but it's failing out and giving me the current time [as in what it says on my system's clock] basically i'm just spitting out all the rows to an html table and would like to have the date AND time formatted as is in the date(...) function at the top of the code demo. thanks! matt / begin code demo function formatDate($val) { $arr = explode(-, $val); return date(M d, Y g:i A, mktime(0,0,0, $arr[1], $arr[2], $arr[0])); } Hi Matt, try this: function formatDate($val) { $timestamp = strtotime($val); return date('M d, Y g:i A', $timestamp); } Regards, Torsten Roehr // open database connection $connection = mysql_connect($host, $user, $pass) or die (Unable to connect!); // select database mysql_select_db($db) or die (Unable to select database!); // generate and execute query $query = SELECT * FROM outdoor ORDER BY id ASC; $result = mysql_query($query) or die (Error in query: $query. . mysql_error()); // if records present if (mysql_num_rows($result) 0) { // iterate through resultset // print title with links to edit and delete scripts while($row = mysql_fetch_object($result)) { ? tr td? echo $row-id; ?/td td? echo $row-name; ?/td tda href=mailto:? echo $row-email; ?? echo $row-email; ?/a/td td? echo $row-zip ?/td td? echo formatDate($row-date); ?/td td? echo $row-club_member ?/td td? echo $row-driver ?/td !-- tdfont size=-1? echo $row-active ?/font/td -- tdcentera href=edit.php?id=? echo $row-id; ?img src=notepad.gif alt= width=16 height=16 border=0/a a href=delete.php?id=? echo $row-id; ?img src=trashcan.gif alt= width=16 height=16 border=0/a/center/td /tr ? } } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Data reading and writing for a chat
Hey All, I got a question for you all. What would be more effiecient for datastoring that is going to be constantly extracted like in a chat application? a MySQL database? or a Flat text file? Right now I am working on a flat text file base but would also like to do it as a database version too if the performance wouldn;t be hit that bad. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Text Streaming in PHP
Hey All, I know I asked this before a couple of weeks ago, but I need a good swift kick in the right direction :D I need to know how to do a text stream in PHP. I have tried the following: while loop with flush and sleep functions HTTP/1.1 Connection: Stream (seems to work in the above while loop until you post something then its like it stalls completely) Are there any other ways? I was looking at GTChat lastnight and it mentioned about sending a file line by line to achieve a server push like effectanyone know how to do this? Only way I will consider Java is if it will stream a HTML page and someone can point me in a direction to grab one Any help in the above questions would be greatly appreciated. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Cant right click
Or under Mozilla go - View - Page Source Or Ctrl-U Only Java/VB script to my knowldege can disable Right-Click Under IE-View-Source and Bingo. It's probably a javascript script. Easy to bypass. PHP related...err no. - Original Message - From: Brent Clark [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 2:49 PM Subject: [PHP] Cant right click Hi all On the link provided below, I noticed that you cant right click. Therefore you cant get View source code or Copy link etc (Depenind on the browser used of course) http://www.full.xtremedl.com/6.htm Would anyone know how to do this. I see that you cant even right click on the pic Weird Kind Regards Brent Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] IE Buffering
Can anyone tell me what size the buffer in IE has to be before it outputs data? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Text Streaming in PHP
Thanks all for the suggestionsI finally got it workingand it works perfectly in IE too (so far anyway) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Test Email
No [EMAIL PROTECTED] about the spammers! John Nichel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] John W. Holmes wrote: From: Tom Chubb [EMAIL PROTECTED] Sorry if anyone else gets this, but I'm not receiving any emails at the moment and wanted to check my subscription. You know php-general is working when you get emails from Advance Credit Suisse Bank and the Information Desk. ---John Holmes... (Sorry... had to do it!) Spam, spam, spamity, spam. ;) -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: mail() problem
Another suggestion is if its an HTML format mail, make sure you use properie making sure all tags are closed that kind of stuffsome software will block if the HTML is not well formed Rick [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi All, Does anyone know a good format for sending email using the mail() function that doesnt get stopped by antispam software? I need to send and email from my sever when a new member creates an account, this ive done but my email gets binned straight away? must be the headers? Regards Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: IMPORTANT MASSAGE FROM THE BANK
wonders if this is the exact same scam that cost millions of dollars in Canada last year as I do not see a LEGIT bank URL or email address besides what is this BS doing here??? this a PHP MAIL LIST!!! Not a scam list!!! Davies Harries [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] FROM:Mr DAVIES HARRIES bills and exchange director GUARANTY TRUST BANK PLC Email:[EMAIL PROTECTED] Fax No:14134519233 Dear Sir, I am Mr.Davies Harries the bills and exchange director at the GUARANTY TRUST BANK PLC, I am writing this letter to solicit for support and assistance from you to carry out this business opportunity in my department. Lying in an inactive account is the sum of us$34.7million belonging to a foreign customer(mr James Kelly) who happens to be deceased. he died with his wife and two children in a plane crash on board an ADC airline flight at the Egirin river Lagos Nigeria in november 1997. Ever since he died the bank has been expecting his next of kin to come and claim these fund. To this effect, we can not release the money unless someone applies for it as next of kin, as indicated in our banking guideline. Unfortunately he has no family member in Nigeria or Over-sea who are aware of the existence of the money(as he was a contractor with the federal Republic of Nigeria). At this juncture i have decided to do business with you.To this effect I solicit your assistance in applying as the next of kin then the money will be released to you. As I do not want this money to go into the bank treasury as an unclaimed bill. The banking law and guideline stipulates that if such money(s) remains unclaimed for a period of up to 8 years(8yrs)the money will be transferred into the banks treasury as an unclaimed bill.My request for a foreigner as next of kin is occasioned by the fact that the customer was a foreigner and a Nigerian cannot stand as next of kin. Sir, 20% of the money will be your share as a foreign partner and your assistance to actualise this business,5% for any expenses incured. Thereafter i will visit your country with your help once the money hits your account for disbursement according to the percentage indicated. To effect the immediate transfer of the fund to you as agreed,you must apply first to the bank as the next of kin to the deceased,then we will follow up all formalities for the transaction. Upon receipt of your reply, i will send to you by fax or email the text of the application you are to send to the bank, as soon as you receive the text i will further clarify you in other issues as to affect the business. Awaiting to hear from you. Best Regards Davies Harries REPLY ME ON MY PERSONAL EMAIL:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: HTTP_REFERER
No...it shows up in the auto global varaible $_SERVER['HTTP_REFERER'] Steve Douville [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I think I'm having a major brain fart here. Is there a $HTTP_REFERER anymore? It doesn't show up as a server variable or anything at all in phpinfo()... using php 4.3.4 Ideas? TIA, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php