At 12:25 10-9-01 +0800, Sall Him wrote:
Oh... I am looking for something like hotmail, yahoo mail, but they are
not written by PHP, I want some ready to use web base email done by PHP
http://www.squirrelmail.org/
Looks great..
Bye,
B.
--
PHP General Mailing List (http://www.php.net/)
To
Zitiere Sid [EMAIL PROTECTED]:
For anyone who did not understand me -- Instead of the stupid include()
function outputing the file contents to the browser I need it to assign
Well, don't code so stupidly then... Instead of you stupidly echo'ing each and
everything directly, better assign
Greetings,
I've been to the online manual relating to both date() and time(), and
i've read all the user-added notes, and i'm actually MORE confused now
than I was before I started!!
My ISP is based in Ontario, Canada. Myself, and 90% of my users are
based in Australia (Sydney/Melbourne
ARGH.
I'm I the only person who gets these stupid messages?? Since when are PPL
running mailman to collect mail from this or any other list??
I suppose someone installed and misconfigured mailman.. hope it stops soon.
Bye,
B.
Subject: Your message to Miki awaits moderator approval
From:
In mysql database i have 5 tables, their names are :
db
user
host
tables_priv
columns_priv
I know which information are in tables (db,user,tables_priv, columns_priv)
and I know for what serve this tables but i don't know some information
about table host ? Please send me some information about
I upgraded from PHP 4.0.5 4.0.6 and since i get openbasedir errors all
over the place when i try to upload a file through a php script
is this a bug?
Stefan de Wal
dewal.nl
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hello B.,
Sunday, September 09, 2001, 11:59:13 PM, you wrote:
BvO ARGH.
BvO I'm I the only person who gets these stupid messages?? Since when are PPL
BvO running mailman to collect mail from this or any other list??
BvO I suppose someone installed and misconfigured mailman.. hope it stops
After reading about file uploading on the PHP website it doesn't
actually give an example to use for testing purposes. Can somebody
provide me with a very simple and basic file upload example that I can
start from and work with. Thanks for any help ahead of time.
-Smileyq
--
PHP General
just use GMT it is much simpler just kidding
?PHP
$test = getenv(DATE_LOCAL);
print($test);
?
- Original Message -
From: Justin French [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Monday, September 10, 2001 2:07 AM
Subject: [PHP] time in annother zone
Greetings,
I've
I want to mess around with PDF stuff.
Can I install both ClipPDF and PDFlib and use them or will they conflict?
Anybody have any comments on one being better than another?
Or do I need both and I'm just being stupid?
--
WARNING [EMAIL PROTECTED] email address is an endangered species
Use
I upgraded from PHP 4.0.5 4.0.6 and since i get openbasedir errors all
over the place when i try to upload a file through a php script
is this a bug?
Stefan de Wal
dewal.nl
Stefan, did you check your open_basedir and/or error_reporting settings in
php.ini and apache config? What are the
On Mon, 10 Sep 2001 16:33, Roman wrote:
In mysql database i have 5 tables, their names are :
db
user
host
tables_priv
columns_priv
I know which information are in tables (db,user,tables_priv,
columns_priv) and I know for what serve this tables but i don't know
some information about
Lance Rochelle wrote:
just use GMT it is much simpler just kidding
?PHP
$test = getenv(DATE_LOCAL);
print($test);
?
The output of this was empty, so I guess i'm missing something, and the
getenv() page didn't shed any light on it.
Justin
--
PHP General Mailing List
Hello ,
I drowing here and need a life-ring! I have a site relying heavily on
e-mail registration, forums, etc. and mail() is broken in my php
install. I've been using an smtp server other than sendmail, but
based on recommendations I have removed that smtp server, removed php,
installed
I am having a problem with searching through a file for a curtain
text. Like the text below [EMAIL PROTECTED] does not exists in the file
but when I run this it gives me a Match at line number.
I need to run three or four names at a time through this script
to see if they are already
I drowing here and need a life-ring! I have a site relying heavily on
e-mail registration, forums, etc. and mail() is broken in my php
install. I've been using an smtp server other than sendmail, but
based on recommendations I have removed that smtp server, removed php,
installed sendmail,
On Mon, 10 Sep 2001 16:41, Richard Kurth wrote:
I am having a problem with searching through a file for a curtain
text. Like the text below [EMAIL PROTECTED] does not exists in the file
but when I run this it gives me a Match at line number.
I need to run three or four names at a
What does phpinfo() think of it?
? phpinfo() ?
Search for sendmail_from, sendmail_path, SMTP under Configuration / PHP core
and see if the values are correct.
Simon.
-Original Message-
From: Badger [mailto:[EMAIL PROTECTED]]
Sent: maandag 10 september 2001 9:24
To: [EMAIL
Hi Richard,
First, I think it should be:
$variable = [EMAIL PROTECTED];
instead of:
$line_text= [EMAIL PROTECTED];
as you overwrite $line_text with your fgets.
Also:
if ($variable = trim($line_text)) {
Should be:
if ($variable == trim($line_text)) {
Otherwise you are doing
Hello Jason,
Monday, September 10, 2001, 12:26:30 AM, you wrote:
I drowing here and need a life-ring! I have a site relying heavily on
e-mail registration, forums, etc. and mail() is broken in my php
install. I've been using an smtp server other than sendmail, but
based on recommendations
maybe by adding a unique ID like that :
somethin/somewhere/index.php?do=thisand=thatIDop=someMD5id
then, keeping logs of the operations in a db table if the id already
exists in the table, nothing is done ...and maybe it's time to clean
parameters... then, the logs should be cleant every
Hello Kelly,
Yes I noticed the variable after I sent the message
Now I have it like this. But If I add something that is in the file it
does not find it.
$fd = fopen (virtusertable, r);
$variable= [EMAIL PROTECTED];
$count = 1;
while(feof($fd) == false) {
$line_text = fgets($fd,
Heloorghhh !!!
Well, try to make a script with :
?php
echo bob says : \hello, brother !!! \ ;
echo bob says : hello, brother !!! ;
?
then, look at the output to see where the error is
well, php's got to know which of the quotes means end of string an which
is a part of the
I have a problem with sessions. My sessions work well except for one thing:
they keep getting broken from time to time. I have found no common thing
with these brokes so I'm quite lost with this problem. Any ideas?
It seems that all of the sessions brake at the same time. (I have a collegue
with
I installed Red Hat 7 as server and get Apache and Php installed with that.
I have connect from my new Linux box (with dbisqlc) to ASA 7 database what
is on one Windows server and thats works fine.
My Apache also works fine with Php only problem is when I try to use
odbc_connect() or some other
On Mon, 10 Sep 2001 17:11, Badger wrote:
Yes, running RH ditribution 7.1, PHP 4.0.6 compile from source, and
sendmail 8.10.11.0.rpm (note that I would like to use my dmail smtp
server and only installed sendmail to troublshoot this problem.
here in my php build:
Jason Brooke [EMAIL PROTECTED] schreef in bericht
02fc01c139c8$702aa550$0100a8c0@co3040297a">news:02fc01c139c8$702aa550$0100a8c0@co3040297a...
I upgraded from PHP 4.0.5 4.0.6 and since i get openbasedir errors
all
over the place when i try to upload a file through a php script
is this a
Hello David,
Monday, September 10, 2001, 1:02:37 AM, you wrote:
DR On Mon, 10 Sep 2001 17:11, Badger wrote:
Yes, running RH ditribution 7.1, PHP 4.0.6 compile from source, and
sendmail 8.10.11.0.rpm (note that I would like to use my dmail smtp
server and only installed sendmail to
will this do?
$filename=newfile.txt; / / sets file name
variable
touch(./directory/$filename); / / creates file in
specified directory if it doesn't already exist
$fp=fopen(./directory/$filename,w); / / opens file for writing
$write=what ever you
Richard,
I just put together a script using that code exactly, and it worked.
All I can say is make sure that what you are searching for is actually in
the file you are searching.
Remember that the string you are searching for needs to match the entire
contents of the line, not just a substring
WHA
- for school lessons ???
let's think about it ...
- Original Message -
From: Sebastian Bergmann [EMAIL PROTECTED]
To: Ralph Guzman [EMAIL PROTECTED]
Cc: PHP Developer Mailing List [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, September 10, 2001 10:27 AM
Subject: [PHP]
Stefan, did you check your open_basedir and/or error_reporting settings
in
php.ini and apache config? What are the errors?
I did. No difference between the old php.ini and the new...the apache
config
is also unchanged.
And the mentioned open basedir errors? What did they say?
I think
check your connection string and if it something like mysql_pconnect change
it in mysql_connect
Stefan de Wal
Pieter Philippaerts [EMAIL PROTECTED] schreef in bericht
([EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Unfortunately, I can't access these settings. It's not our computer that
hosts
In head section of HTML page You can include meta tag like below:
meta http-equiv=refresh content=2;URL=http://domain.dot.com/loop.php;
If loop. php contains that meta tag like it calls itself every 2 seconds.
Krzysztof Kocjan
Kostis Mentzelos wrote:
Hi all,
is it possible to create a
Hello Kelly,
Your right the script does work but my problem is this
the file I am searching looks like this below.
And if I search on [EMAIL PROTECTED] alone it does not find it but
if I search on [EMAIL PROTECTED] yourns it finds it. I need it
to find just the email address not the stuff after
Wow, that was a quick response! It's no wonder PHP kicks butt, when we have
geniuses like you in the development team.
I did not realize I sent it to the wrong list until after I had sent it. I
apologize.
I will try this now.
Thanks a Million.
-Original Message-
From: James Moore
I don't think this is correct!
You can't do this:
list($a, $b) = variable!
which is the case in: list($key, list($tag, $data)) = each($array)
you can use: list($key, $value) = each($array)
D [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I am a newbie and
Hi
I compiled PHP_4.0.6 with LDAP support (openldap-2.0.12) without any
problems, but I can't connect to my locally
running LDAP-Server. The whole thing is running on a HP-UX11 box.
Here are my very simple two lines of code:
$ds=ldap_connect (localhost);
print connect result is .$ds.BR;
Can sessions hold the $result resource of a mysql_query?
and the use that $result variable to fetch rows on other page?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
Hi, what z wrong in this code??
?php
echo a href=\?php show_source('source.php')?\view
source/abr/br/;
?
I am getting the following error
Forbidden
You don't have permission to access / on this server.
---
-
Fixed:
?php
echo a href=\show_source('source.php')\view
source/abr/br/;
?
- seb
-Original Message-
From: Balaji Ankem [mailto:[EMAIL PROTECTED]]
Sent: 10 September 2001 10:25
To: [EMAIL PROTECTED]
Subject: [PHP] hi
Hi, what z wrong in this code??
?php
echo a href=\?php
html
body
?php
$tab=array(a=26,b=25,c=24,d=23,
e=22,f=21,g=20,h=19,
i=18,j=17,k=16,l=15,
m=14,n=13,o=12,p=11,
q=10,r=9,s=8,t=7,
u=6,v=5,w=4,x=3,
y=2,z=1);
$fid=fopen(testfile.txt,r);
Sorry, my F outlook replaced '//' commentaries by 'file://' ... these
lines where for debugging, they can be deleted !!!
- Original Message -
From: nicolas costes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 10, 2001 11:36 AM
Subject: Re: [PHP] Re: [PHP-DEV] Anagram
[EMAIL PROTECTED] (Richard Lynch) writes:
A callback is when you execute a function, and you provide to it a name of
*another* function, which it will call on some data in the middle of its
task.
It's a very handy way to provide extreme flexibility in functional
languages.
For example:
Richard,
Then you need to use something like explode() to get only the part you
want.
e.g. If the file is delimited by spaces, then have something like this:
$fd = fopen (virtusertable, r);
$variable= [EMAIL PROTECTED];
$count = 1;
while(feof($fd) == false) {
$line_text = fgets($fd,
It still won't work though.
(unless show_source is javascript, which I doubt)
You can't embed php in html like that. HTML is for client side, and they
aren't running php in their browser. Browsers generally support javascript
or vbscript ECMA style scripting on client side.
If you wanted to
... so make the two pieces the same file... have the script redirect to
itself minus the parameters.
I did, but somehow it soesn't feel like an elegant way of doing things, with
that extra reloading and all. But it'll do. Thanks.
- jon
--
PHP General Mailing List (http://www.php.net/)
To
Hi,
Just to throw in a curve-ball, IMHO, there is no point looking at
pre-built layouts and templates.
Why?
1. The end product will not look unique or different. It will look the
same as the other 5000 sites who found that same template. Worse still,
if your charging a client, they're
We have never used mysql_pconnect.
Regards,
Pieter Philippaerts
Stefan De Wal [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
check your connection string and if it something like mysql_pconnect
change
it in mysql_connect
Stefan de Wal
--
PHP General
I don't do site design for people, thats probley because i suck at design,
but i am good at the coding...just like apps, i suck with the GUI, which is
why i prefer to get some that are already done, or get them done, and i am a
poor bastard, so free ones(alot of them are just templates), are for
and what about this one?
?echo a href=.show_source('source.php').view source/abr;?
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, September 10, 2001 12:19 PM
Subject: RE: [PHP] hi
It still won't work though.
Please, help.
I write in httpd.conf:
AddType application/x-httpd-php .html
And see result in browser - browser get reply with content-type:
application/x-httpd-php and suggest to save it.
If I rename script to *.php and call it from browser it works Ok.
How and where can I explain httpd and
9/10/2001
EMAIL PROCESSING COMPANY LOOKING FOR EMAIL PROCESSORS IMMEDIATELY, TO SUSTAIN
EXPLOSIVE GROWTH. EARN $2,000-$6,000
(PART-TIME) AND $5,000-$10,000 (FULL TIME) MONTHLY. FREE START-UP, NOT MLM,
NO EXPERIENCE NECESSARY. SEND AN EMAIL
TO [EMAIL PROTECTED] WITH SUBJECT: SHOW ME.WE WANT
Hi,
I am generating a report in exel sheet.
For this i am planing to use exel as a data base.
can you send the statements to connect exel sheet as a database and
relate queries.
Thanks in advance.
Regards
Balaji
Try ODBC connection...
- Original Message -
From: Balaji Ankem [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 10, 2001 1:00 PM
Subject: [PHP] How to connect Excel as a database from mysql
Hi,
I am generating a report in exel sheet.
For this i am planing to
nope. go with COM.
On Mon, 10 Sep 2001, Ing. Lalka Peter wrote:
Try ODBC connection...
- Original Message -
From: Balaji Ankem [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 10, 2001 1:00 PM
Subject: [PHP] How to connect Excel as a database from mysql
Hi,
Hi
Can anyone help me? I need to produce a random and uniques array using
numbersbetween 0 and 9. I tried to create a random array and them make it
unique.
for ($i = 0; $i100; $i++){
$a[$i] = rand(0,9);
$test=$a[$i];
}
$ra = array_unique($test);
I keep getting an
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Deirdre Mc Cann) wrote:
for ($i = 0; $i100; $i++){
$a[$i] = rand(0,9);
$test=$a[$i];
}
$ra = array_unique($test);
I keep getting an error saying $test is the incorrect type. Can someone
please explain why this
Well you can't just have a link to this function. Make a page like so:
showsource.php
**
?php
$file=source.php;
show_source($file);
?
yourfile.php
**
?php
echo a href=\showsource.php\view source/a;
?
- seb
and more practically your code get corrected to this:
for ($i = 0; $i100; $i++)
{
$a[$i] = rand(0,9);
$test[]=$a[$i];
}
$ra = array_unique($test);
and your code get optimized to this: (mostly of the manual!;))
$numbers = range (0,9);
srand ((double)microtime()*100);
shuffle
Im trying to figue out the following anagram using PHP. Here is the problem:
Using letters of the alphabet represented by a number, I have to come up
with words that add up to exactly 100.
Numbers are in reverse where A=26 and Z=1, so for example:
A B C...X Y Z
26 25 24..3 2 1
So let's
I have no idea how anagrams work, but is it true as you say/imply:
If the same of the characters of a string is same as the sum of other
characters in another string THEN the last is an anagram of the first?
Ralph Guzman [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL
Hi
I have a problem with the include command.I want to include a txt file in a php
file.But this txt file must include in every php file on the server and these phpfiles
are in different directories.
Here is the Problem :
www.domain.com/index2.php and www.domain.com/support/shop.php must
Boris,
Compiling with ODBC translates to linking with an ODBC Driver Manager.
An Open Source Driver Manager is iODBC - www.iodbc.org
There is also a HOWTO on the site for PHP compiling --with-iodbc.
You will still need a driver for your ASA, but it appears you have this.
Best regards,
Andrew
Try use absolute path reference,
I can't see your problem!?
If you have this file:
/home/websitename/www/include/news.txt
whether you access it from /index2.php or /support/shop.php all the same!
You might also want to refer yourself to the include_path variable
configuration.
[EMAIL
Hi All,
I am trying to download php mauals. but I couldn't suceed as the server
is displaying the message
as Server is Busy and try later. Even I tried by using the link
with port number.
Can anybody help me in downloading the manulas?
Regards,
Maria
--
PHP General Mailing List
Did you try to dload the manual from PHP site's mirrors?
S.Maria Goretti20010808 [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi All,
I am trying to download php mauals. but I couldn't suceed as the server
is displaying the message
as Server is Busy and
1. HTML file:
form method=post enctype=multipart/form-data action=PATH OF PHP SCRIPT
THAT WILL HANDLE THE FILE
input type=hidden name=MAX_FILE_SIZE value=MAX SIZE IN BYTES OF THE
FILE UPLOADED
input type=file name=myfile
input type=submit value=SEND!!
/form
2. PHP file (file upload handler):
Sounds like you know exactly what you want to do :-)
1) Obtain a text file, csv or whatever of a dictionary (easy enough -
www.google.com).
2) Find the ascii values for a-z or A-Z, your choice.
3) Read in a word at a time.
4) Convert to upper or lower case to reflect part (2)
5) Create a
Hi there,
I am new to PHP and mySQL. I am a fairly quick learner and have set up a
script to add/modify/delete entries from a mySQL database and display them
in a table.
My first question is, where or how can I get information on how to only
allow certain people to add and then modify what
I tried that code this morning :
html
body
?php
$tab=array(a=26,b=25,c=24,d=23,
e=22,f=21,g=20,h=19,
i=18,j=17,k=16,l=15,
m=14,n=13,o=12,p=11,
q=10,r=9,s=8,t=7,
u=6,v=5,w=4,x=3,
y=2,z=1);
We've been getting an error message when trying to call the mail()
function:
FATAL: emalloc(): Unable to allocate -5675919 bytes
Treating that large negative number as an unsigned integer makes that
just over 4 gigabytes, which the server blatantly doesn't have. But it
doesn't make sense for
The session variables will remain set, but will it looks
like my session gets lost every now and then if you want
to see an example, go to http://northpointless.org/test.php
and hit refresh several times. I cannot figure out what is happening.
Did you get this figured out? It looks
http://www.weberdev.com/
http://www.phpbuilder.com
http://www.zend.com
Pete Lopez [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi there,
I am new to PHP and mySQL. I am a fairly quick learner and have set up a
script to add/modify/delete entries from a
Hey gang I'm using a checkbox in a form that has its values dumped into a mysql
database. for some odd reason, the checkbox information is lost
It worked earlier so I'm guessing I introduced a typo someplace.
this is the code in the form. I figure if this looks ok to you all. I just need to
Anybody using the zend optimizer in a production environment?
Is Zend Cache worth the money?
thanks
Randy
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.268 / Virus Database: 140 - Release Date: 8/7/2001
--
PHP General
Hi All!
I had to unsubscribe for a little while due to the volume but did want to
follow up on the Code Red catcher script. Anyone wanting a new copy of the
script, please email me directly. I made a gob of changes to the original
code, slimming it down some and improving the lookups just a
yes, you can popup a html form with target = _parent, like this:
First page:
form
select name=xxx
option1/option
option2/option
?php
session_start();
if (isset($opt))
$opts[] = $opt;
session_register(opts);
foreach ($opts as $opt)
print option.$opt./option;
?
/select
a
if you know the xml language, you notice that all tags that start with ?
are called processing-istructions tags, and the word that follow the
question mark is the TARGET of the following istructions.
This is an example of xml file:
?xml version=1.0?
?cocoon-process ?
?mypersonalprogram
Hello everyone,
Ran into a problem trying to get this to work. I have multiple names in a
mysql field (DCD_Access) that contains name1, name2, name3, name4 and I
want read this information as an array so I can use these values to populate
a pull-down list using a while or foreach loop. Below is
B-,
I get 4-5 new ip's daily on each of my machines. It's ridiculous and I have
given up trying ot notify each of these machines that they have a problem.
-ccma
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Why invent the wheel twice, this has been around since the first day
code red was discovered.. See code-red.php
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: den 10 september 2001 16:22
To: [EMAIL PROTECTED]
Subject: [PHP] Code Red Catcher
Hi All!
I had
I am trying to figure out how to use PHP to redirect the user to a new
location *after* processing and most likely outputting a bunch of code.
Because this redirection would happen late in the game I can't use
header(Location: .$redirect_to);
I come from a ColdFusion background and am used to
Andrew,
I am in a similar position witha Lasso site, which I am considering php-ing.
I need to do conditional redirects.
George P, Edinburgh
- Original Message -
From: Andrew Penniman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 10, 2001 3:37 PM
Subject: [PHP] PHP
Hello All
I am using ASP on IIS4, and interested in PHP. I would like to know that
if I install PHP on IIS4, can I still use ASP as well?
Thank you.
Pong
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
you won't want to, but yes...
-Original Message-
From: pong-TC [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 10:53 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP and IIS4
Hello All
I am using ASP on IIS4, and interested in PHP. I would like to know that
if I install PHP on
I am not asking for any one-on-one help here(I realize most of you have
lives and dont have the time for that, although I would most certainly
appreciate it,
Forget it, to much fun to figure it our yourself. :-)
Any links or references you could provide would be
MOST helpful. Also any good
[EMAIL PROTECTED] (George Pitcher) writes:
Andrew,
I am in a similar position witha Lasso site, which I am considering php-ing.
I need to do conditional redirects.
George P, Edinburgh
- Original Message -
From: Andrew Penniman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
zip support in php is read-only.
but keep in mind that zip is not simply a compressed file, is a compressed
archive, like .tar.gz or .tar.bz2
you can use zlib for gzip files or bzip2 for bzip2 files...
if you need absolutely a zip file format you need to pipe it to a program
like the unix
Right off the top of my head, you have three options that I can see:
(1) Rewrite the code to avoid any output before the redirect.
(2) Use output buffering (available only in PHP4). I haven't used
this, but check out
http://www.php.net/manual/en/ref.outcontrol.php
(3) Use a META
Right off the top of my head, you have three options that I can see:
(1) Rewrite the code to avoid any output before the redirect.
I'd recommend this one myself
jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
on 9/6/01 11:52 PM, [EMAIL PROTECTED] went and wrote:
I'll show you what I did but realize I'm an advanced beginner/intermediate
programmer. This may not be the most efficient way to do it but seems to
be the simplest code compared to other ways of doing it that I've seen. Not
sure if I will
No. It may be remotely possible (with a gross hack) for persistent
connections, but in general, resources are disposed of after every request,
so resource Ids are meaningless across pages.
i doubt that the session manager would let you store a resource anyway...
_lallous [EMAIL PROTECTED] wrote
Hi all,
After a bit of testing, I've noticed, that the $HTTP_SESSION_VARS array
isn't as global as the manual makes it. The following piece of code should
produce 2 blank lines and a click here link the first time it's loaded.
When you click on the link, I would expect two lines saying
Hi again, Everyone:
I didn't expect such a response so quickly. With your indulgence, I'll
quote the code in this message. I just found out that Outlook (which is
what I'm forced to use at Volvo) won't attach .ida files and I *think* this
list strips attachments in any case.
I don't remember
Hello,
Is there a function to convert a string so it is a valid string of text
for a SQL query? AN example would be a string of text that has ' in it
would be converted to \'
Thank you,
Brandon Orther
WebIntellects Design/Development Manager
[EMAIL PROTECTED] writes:
Yes, it will. But try not to mix and match.
Can you explain more about this? I would like to know more about the
impact of having and using ASP and PHP together.
Thank you.
Pong
George
- Original Message -
From: pong-TC [EMAIL PROTECTED]
To: [EMAIL
Hello,
Sorry to bother everyone. I was just wondering if php runs on NT?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Yep, check here, http://www.php.net/downloads.php and look under Win32.
Alistair
Jeremy Morano [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello,
Sorry to bother everyone. I was just wondering if php runs on NT?
--
PHP General Mailing List
Use AddSlashes;
string addslashes (string str)
This will add slashes to all characters that require them for SQL queries.
Alistair
Brandon Orther [EMAIL PROTECTED] wrote in message
00b401c13a12$fde59b30$0a00a8c0@webintel">news:00b401c13a12$fde59b30$0a00a8c0@webintel...
Hello,
Is there a
1 - 100 of 176 matches
Mail list logo