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:
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
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 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
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
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
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
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
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
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
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]
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]
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
--
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:
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
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
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
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:
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
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
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
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:
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
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
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.
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
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]
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
28 matches
Mail list logo