On Sat, 11 May 2002, Uma Shankari T. wrote:
> Can anyone please tell me is there any to display the mails like mailing
> archieve, in one of the folder in Pine..
Open the file with fopen and read through it at your leisure. Every time
you come across a line that starts with "From " (From followed
http://php.net/ini_set
miguel
On Sat, 11 May 2002, Phil Powell wrote:
> I can't alter php.ini as this is occurring on a remote site (not on my own
> site). :(
>
> Phil
>
> - Original Message -
> From: "Miguel Cruz" <[EMAIL PROTECTED]>
> To: "Phil Powell" <[EMAIL PROTECTED]>
> Cc: <[
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all
I've been asked to protect an area containing 'course material' (pdf's
etc) and have just thought of a gaping hole in what I've done.
I use an class to handle all the auth stuff and each page checks the
value of $obj->logged_in :: No problem.
On Sat, 11 May 2002, Nick Wilson wrote:
> I've been asked to protect an area containing 'course material' (pdf's
> etc) and have just thought of a gaping hole in what I've done.
>
> I use an class to handle all the auth stuff and each page checks the
> value of $obj->logged_in :: No problem.
>
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Miguel Cruz declared
> > I use an class to handle all the auth stuff and each page checks the
> > value of $obj->logged_in :: No problem.
> >
> > but what if someone links to www.thesite/theProtectedArea/file.tar.gz
> >
> > that file
Hello:
> He said "php -l will let you know where your syntax errors are."
And what this has to do with my question? I was asking for a debugger,
not for an error report. I want a mechanism to debug php programs step
by step, watch variables and so on.
Regards.
--
PHP General Mailing List (ht
Hello:
> I think the OP has already looked at it, and wanted something
> better :)
Yes, that's right, but I'm not saying dbg isn't good, I just said is
too much complicated (AFAIK):
-Must have a listener running
-Use COM to interface with it
-User installation too hard:
Change php.ini to load
Hi,
If i have a filename "room.jpg" in my Upload
Directory, and someone else comes and uploads a file
by the same name, the previous "room.jpg" is
overwritten by the new one. Any suggestions?
This is the code i'm using :
Thank you for adding you details. The following has
been added to the Dat
Hi,
Ok there were a lot of mistakes in that code. IN fact
i rubbed it off completely and am using a new code..
Everything works fine now, except that if the filename
exists, any new file with the same name overwrites the
old file.. What do i do about it?
Here is the code i'm using :
Thank y
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Thomas Edison Jr. declared
> Hi,
>
> If i have a filename "room.jpg" in my Upload
> Directory, and someone else comes and uploads a file
> by the same name, the previous "room.jpg" is
> overwritten by the new one. Any suggestions?
We
Hmm...
Tried it, and this doesn't sound too good :
Fatal error: Call to undefined function: file_exist()
in d:\apache
group\apache\htdocs\mjimm\mjpals_added.php on line 37
Basically this is what i added in the appropriate
place :
if(file_exist($img1_name)) {
$img1_name = $img1_
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Thomas Edison Jr. declared
> Hmm...
>
> Tried it, and this doesn't sound too good :
>
> Fatal error: Call to undefined function: file_exist()
> in d:\apache
> group\apache\htdocs\mjimm\mjpals_added.php on line 37
Sorry, it was a typ
Glory & Power!
I'm using the following code now... the Error is gone,
but it's still overwriting the old file. It's not
changing the name.. not doing anything, just uploading
this new file and replacing the old one..
"256000")
and ($img1_type != "image/pjpeg") or ($img1_type !=
"image/jpeg"))
Hi all,
Can someone tell me how to use the header function? Can i use it with
relative URLs for example:
header ("Location:index2.php");
If i have that line somewhere in my script will the browser be automatically
taken there or do i have to echo it or something of the like? Thanks for any
help
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Thomas Edison Jr. declared
> Glory & Power!
>
> I'm using the following code now... the Error is gone,
> but it's still overwriting the old file. It's not
> changing the name.. not doing anything, just uploading
> this new file and re
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then baldey_uk declared
> Can someone tell me how to use the header function? Can i use it with
> relative URLs for example:
>
> header ("Location:index2.php");
Have you tested it?
Come on, took me all of a minute and a half to try it out
Glory!
> Well, I don't see any thing in your code that
> denotes the directory the images are going in?
What about this :
copy("$img1", "mjpalpics/$img1_name") or Die ("Could
not do");
Sends the images to the mjpalpics Directory!
> 'path/to/img/img.jpg'
> exists and if so, name the upload im
Yes i have tested it thats why i am asking, as it is not working either way
for me, it just stays on the same screen but blanks the previous output to
the page.
Baldey_uk
-Original Message-
From: Nick Wilson [mailto:[EMAIL PROTECTED]]
Sent: 11 May 2002 12:07
To: Php-General
Subject: Re:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then baldey_uk declared
> Yes i have tested it thats why i am asking, as it is not working either way
> for me, it just stays on the same screen but blanks the previous output to
> the page.
Weird, works fine for me. Let's see the code.
-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Thomas Edison Jr. declared
> Hmm... possibly when i say
> if(file_exists($img1_name)), he's looking for the file
> name in the Directory where the Images initially go..
> but then since i copy them elsewhere, they won't be in
> the ini
Well thanks a bunch!
--- Nick Wilson <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
> * and then Thomas Edison Jr. declared
> > Hmm... possibly when i say
> > if(file_exists($img1_name)), he's looking for the
> file
> > name in the Directory where the Image
On Saturday 11 May 2002 19:10, baldey_uk wrote:
> Yes i have tested it thats why i am asking, as it is not working either way
> for me, it just stays on the same screen but blanks the previous output to
> the page.
>
> Baldey_uk
>
> -Original Message-
> From: Nick Wilson [mailto:[EMAIL PRO
Here ya go:
Basically im trying to update details in a database, after the new details
are put into a form they are printed to the screen with a 'are the details
correct' scenario. From there if they click 'no' i want them to be put back
to the updateaddress.php page but also pass two php variabl
Hi.
Is there any way to check is it cookies enabled browser?
Regards,
Szymon Kosok
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Saturday 11 May 2002 19:05, Thomas Edison Jr. wrote:
> Glory!
>
> > Well, I don't see any thing in your code that
> > denotes the directory the images are going in?
>
> What about this :
>
> copy("$img1", "mjpalpics/$img1_name") or Die ("Could
> not do");
>
> Sends the images to the mjpalpics D
On Saturday 11 May 2002 19:20, baldey_uk wrote:
> Here ya go:
>
> Basically im trying to update details in a database, after the new details
> are put into a form they are printed to the screen with a 'are the details
> correct' scenario. From there if they click 'no' i want them to be put back
>
On Saturday 11 May 2002 19:20, Nookie wrote:
> Hi.
>
> Is there any way to check is it cookies enabled browser?
Set a cookie then try to read it, if it fails then cookies are disabled. This
needs to be done using 2 pages, one to set, the 2nd to read. Or you can use
the same page, first time to
Due to the large variety of MySQL and PHP date time formats
I'd like to have a couple of opinions from people out there !
Building a job database - and one of my fields is of course date time !
Which I want to be able to use latter in show all from last week, last month
etc !
Also I want to show
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then baldey_uk declared
> #if not we need to keep the customer_id and quantity and start again
> case "no" :
> echo ' type="hidden" name="txtCustomer_id" value='.$customer_id.'>';
> he
On Saturday 11 May 2002 19:42, John Fishworld wrote:
> Due to the large variety of MySQL and PHP date time formats
> I'd like to have a couple of opinions from people out there !
>
> Building a job database - and one of my fields is of course date time !
> Which I want to be able to use latter in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Jason Wong declared
> ... if you use a header() you cannot output anything beforehand. See manual.
Oh, yeah, missed that one :-)
- --
Nick Wilson // www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (G
lol ! no thats not what I meant !
what's best to put into MySQL
datetime from MySQL
now()
or from php date !
Regarding the format - its a german site so not expecting many yanks there !
:-))
> On Saturday 11 May 2002 19:42, John Fishworld wrote:
> > Due to the large variety of MySQL and PHP dat
On Saturday 11 May 2002 19:55, John Fishworld wrote:
> lol ! no thats not what I meant !
> what's best to put into MySQL
> datetime from MySQL
> now()
> or from php date !
>
> Regarding the format - its a german site so not expecting many yanks there
> !
Sorry :)
In that case it's best to stick
Okay so I've then got
2002-05-08
and whats then the best way to manipulate it regarding
plus 3 days or plus 4 weeks ?
> > lol ! no thats not what I meant !
> > what's best to put into MySQL
> > datetime from MySQL
> > now()
> > or from php date !
> >
> > Regarding the format - its a german si
Hello,
On 05/11/2002 08:42 AM, John Fishworld wrote:
> Due to the large variety of MySQL and PHP date time formats
> I'd like to have a couple of opinions from people out there !
>
> Building a job database - and one of my fields is of course date time !
> Which I want to be able to use latter i
My phpMyAdmin keeps caching it'self.
How do i disable it.
I'm using apache 2 and php4.2
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The following code doesn't work properly on PHP 4.1:
Blah, blah";
setcookie("kuku", "abc");
setcookie("lala", "def");
setcookie("zuzu", "ghi");
?>
Because I wrote echo statement before setcookie. But it works on PHP
4.2. Is it due to "output_buffering=4096" directive in php.ini?
--
Best regard
Greetings people,
Special greetings to all of you who have helped me in the past.
As most of you know i am a newbie, I learned a bit of PHP via webmonkey and
a few other places, seeing the power of PHP i decided to convert from Java
servlets and JSP (JSP coz its expensive to host and not many hos
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all
I'm pulling out hair here. this snippet of code seems to work just great
but when I use it in the method 'change_password()' it gives me access
denied errors. I see nothing wrong with the php but maybe someone can
help me?
Here is the connect
Hi all,
I want to be able to allow certain people the ability to email news directly
onto a page using the address [[EMAIL PROTECTED]] but only if they are
verified on a db. Please can someone explain what I need to do or where I
need to look so that I can grab the email as it comes in and add it
Hello,
On 05/11/2002 10:20 AM, Randum Ian wrote:
> Hi all,
>
> I want to be able to allow certain people the ability to email news directly
> onto a page using the address [[EMAIL PROTECTED]] but only if they are
> verified on a db. Please can someone explain what I need to do or where I
> need
Why would you want a scripting language to sleep, there is no such thing as
a loop in a web page (yes, I know it would be possible, but it would lock up
a users machine).
I know you can set up the apache daemon to run on-demand to conserver
resources, but I think you are getting mixed up between
Hi!
1. I believe every serious programmer out there uses arrays on a regular
basis...
1.1. ...exactly because there are so many problems virtually unsolvable
without them. Take for instance the case of a product page where people
would fill in ordering quantitites.
My recommendation would be
You can use Mr. Lemos' suggestion, or go with an alias instead. You can
check out an example of setting this up by downloading
http://sourceforge.net/projects/outreach/ (the full version) - read
"INSTALL.email" and check out opt/include/mail_retrieve.pl. Then check
out opt/include/email.php to
Have a look at procmail (http://www.procmail.org/)
-Rasmus
On Sat, 11 May 2002, Randum Ian wrote:
> Hi all,
>
> I want to be able to allow certain people the ability to email news directly
> onto a page using the address [[EMAIL PROTECTED]] but only if they are
> verified on a db. Please can so
1. I have dug deeper into arrays than I care to remember.
2. Absolutely not.
3. See http://www.php.net/sleep and http://www.php.net/usleep
Glad to hear you're converting to PHP! It's an amazing language, and I
don't see it going away any time in the near future. Hope you have fun,
and be sure t
I need to have an internal search engine for my site. It needs to
support Boolean (not, or, and). Are there any fairly simple scripts out
there that will help me with this? Even if it's just to give me an idea
of where to start. I'm using mySQL, and Boolean support isn't
implemented until v4.0. Th
My phpmyadmin scripts doesn't want to refresh.
what could be the problem
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Okay so I've then got
>
> 2002-05-08
> and whats then the best way to manipulate it regarding
> plus 3 days or plus 4 weeks ?
Do it in your sql query - check out the date manipulation stuff in the
sql manual - it's quite comprehensive and tells you what you need to
know.
CYA, Dave
-
Yes. Output buffering is good.
Some people will say that you shouldn't use it, but should make sure to
write all your code so that there can't be any output before any headers
need to be sent. I disagree with this. While a good idea in principle,
in practice it is all but impossible to keep going
> I am wondering if there is any tangible difference between the
following
> two
> commands:
>
> $x = $foo["status"];
> $x = $foo['status'];
The only difference to any strings enclosed in ' or " is that strings
enclosed in " may have variables embedded within them. Strings enclosed
with ' will n
I have never really understood why people have problems with arrays. Just
think of an array as a table of values. A one-dimensional array would be
a table with a single column and each row has a number (or index)
assigned to it:
+---++
| 0 | Apple |
+---++
| 1 | Orange
Either store your files in the database (I hate saying that), or use
.htaccess to protect the directory.
---John Holmes...
> -Original Message-
> From: Nick Wilson [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, May 11, 2002 1:59 AM
> To: php-general
> Subject: [PHP] protecting downloads wi
Store your files outside of the webroot if you use this method. Then
they can't type in the address directly (otherwise this doesn't fix
anything).
---John Holmes...
> -Original Message-
> From: Miguel Cruz [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, May 11, 2002 2:23 AM
> To: PHP-Gene
Set a cookie, redirect to same page, and see if cookie is sent to you.
---John Holmes...
> -Original Message-
> From: Nookie [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, May 11, 2002 4:21 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Cookies
>
> Hi.
>
> Is there any way to check is it co
> 1)How many of you have seriously dug into arrays and has it been
important
> in your programming?
> 1.1)Do you think you could have done the same thing you did with
arrays
> WITHOUT arrays?
> (The reason i ask this is theres a whole chapter dedicated to arrays
in
> the
> book & its pretty frustr
I am using the latest phpMyAdmin and MySQL 2.23.37. I have installed and
compiled it on a Sun Cobalt RAQ4r. I need to have it set up so that
customers with different websites cannot see or work on other cutomers DB's,
but each virtual site has its one phpMyAdmin
So each user needs to have his
> Okay so I've then got
>
> 2002-05-08
> and whats then the best way to manipulate it regarding
> plus 3 days or plus 4 weeks ?
I definitely agree to use the MySQL format for your dates. It makes it
easier to use the built in functions. You can convert the timestamp to a
unix style if you have t
> > copy("$img1", "mjpalpics/$img1_name") or Die ("Could
> > not do");
> >
> > Sends the images to the mjpalpics Directory!
> Possibly. But one thing that is definitely a problem is:
>
> if(file_exists($img1_name)) {
> $img1_name = "n"+$img1_name;
> }
>
> should be:
>
> if(file_exists
R wrote:
> Greetings people,
> Special greetings to all of you who have helped me in the past.
>
> As most of you know i am a newbie, I learned a bit of PHP via webmonkey and
> a few other places, seeing the power of PHP i decided to convert from Java
> servlets and JSP (JSP coz its expensive to
a few weeks ago there was a discussion about how
to get
variables attached to a url like
http://server.com/script.php?var1=value1&var2=val
ue2&var3=value3
the easiest way to do this is possibly:
$vars = explode("&", $argv[0]);
parse_str($vars);
with these two lines you will have the variable
Apache2+PHP has a number of issues. At this point it is only suitable for
testing purposes. I suggest using Apache 1.3.x if you want a stable
working server.
-Rasmus
On Sat, 11 May 2002, vins wrote:
> My phpMyAdmin keeps caching it'self.
>
> How do i disable it.
>
> I'm using apache 2 and php
Hey Guys,
I thank each and everyone one of you who replied, yeah, i got flamed a
couple of times from some of you for the "sleep" bit but need i remind you
that i am a newbie?
Hey, dont get me wrong i thank you too even though you flamed me, coz you
read the post and replied to me.
As for the peop
Let's see if I can keep this short and simple.
I'm having to problems with a hosting service.
1. index.php isn't being read as default index.
2. Form aren't working (see a below mail_call.php).
2A.The mail_call.php works on my localbox (apache-2.0.36 +PHP4.2.0)
2B. Hosting company,for reason they
Hello r,
Sunday, May 12, 2002, 4:25:37 AM, you wrote:
r> Greetings people,
r> Special greetings to all of you who have helped me in the past.
r> As most of you know i am a newbie, I learned a bit of PHP via webmonkey and
r> a few other places, seeing the power of PHP i decided to convert from J
Nick:
As John H. suggested earlier, storing files outside ("above") the webroot makes those
files inaccessible directly from the user's
browser-- a good thing-- in which case the script serves as a gateway to these files--
also a good thing.
I have a similar need. Here's one way to do it in tw
I'm looking for possibility to change language of my site on fly you
may take a look at http://body-builders.org and see yourself - now
when I press language button I can get to the main page in sertain
language but what I want it to do is if I'm for example at 'Links'
page and click on langua
Nick Wilson wrote:
> Does anyone know of somewhere that lists content-type's?
>
> Many thanks :-)
> - --
> Nick Wilson // www.explodingnet.com
>
See http://www.ietf.org/rfc/rfc2183.txt for handling file types in headers.
Also see the PHP manual http://www.php.net/manual/en/function.heade
If you don't tell anyone what the secret path is, it's as good as a
password.
miguel
On Sat, 11 May 2002, John Holmes wrote:
> Store your files outside of the webroot if you use this method. Then
> they can't type in the address directly (otherwise this doesn't fix
> anything).
>
> ---John Ho
On Sat, 11 May 2002, Nick Wilson wrote:
> Does anyone know of somewhere that lists content-type's?
Apache comes with a file in conf/mime.types that lists a lot of standard
ones.
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, 11 May 2002, Thomas Edison Jr. wrote:
> If i have a filename "room.jpg" in my Upload
> Directory, and someone else comes and uploads a file
> by the same name, the previous "room.jpg" is
> overwritten by the new one. Any suggestions?
In the long run, I think the best plan is to name your
Hey everyone!
After some futzing about, and using techniques you guys all helped out
with, I now have a nice, portable, fully-commented-for-future-maintenance
script for doing *all* of my SQL queries to our MSSQL server, and
outputting a nice, easy-to-read table. I only have to change one comm
On Sat, 11 May 2002, baldey_uk wrote:
> Basically im trying to update details in a database, after the new details
> are put into a form they are printed to the screen with a 'are the details
> correct' scenario. From there if they click 'no' i want them to be put back
> to the updateaddress.php p
If it is a unix/linux box use the .htaccess file and define the settings
yourself.Please this file in the document root for your site... Assuming
the system will allow you to do so...
/dkm
- Original Message -
From: "David J Jackson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent:
On Sunday 12 May 2002 00:12, David J Jackson wrote:
> Let's see if I can keep this short and simple.
> I'm having to problems with a hosting service.
> 1. index.php isn't being read as default index.
> 2. Form aren't working (see a below mail_call.php).
> 2A.The mail_call.php works on my localbox
WOOO.. i did not know this was possible :
file_exists("mjpalpics/$img1_name")
And this might actually solve the whole issue!! Let me
try this..
Thanks a BUNCH!
T. Edison Jr.
--- John Holmes <[EMAIL PROTECTED]> wrote:
> > > copy("$img1", "mjpalpics/$img1_name") or Die
> ("Could
> > > not do");
Hmm..
You gave me a lot to think about, and a whole lot of
work to do. I definately love your idea and logic, and
yes, it would make everyone happy.
well i guess by the time i figure the coding and
process out, i'll keep in mind to arrange for your
British Airways Gift Certificate too.
Glory!
T
Jason --
In actual fact the hosting company in question is used by a friend of
mine, but not my me :)
And I agree he needs to "draw a line in the sand", I mean the guy uses
them for 2 sites and
his ISP?! It's time to say fix it by Monday at 08:00 or I'm canceling my
accounts, but that's
just me
On Sunday 12 May 2002 01:38, Thomas Edison Jr. wrote:
> WOOO.. i did not know this was possible :
> file_exists("mjpalpics/$img1_name")
>
> And this might actually solve the whole issue!! Let me
> try this..
You might find is_file() to be a 'more reliable' indicator because
file_exists() works f
On Sat, 11 May 2002, SpamSucks86 wrote:
> I need to have an internal search engine for my site. It needs to
> support Boolean (not, or, and). Are there any fairly simple scripts out
> there that will help me with this? Even if it's just to give me an idea
> of where to start. I'm using mySQL, and
You might want to use the format:
http://www.body-builders.org/index.php.en?links=1
http://www.body-builders.org/index.php.ru?links=1
so that you can take advantage of Apache's mod_mime features, and not have
to do so much complicated guesswork to determine when you are displaying
in an
This probably isn't the cause of any of your troubles, but your From:
header is malformatted; there should be a space after the colon.
miguel
On Sat, 11 May 2002, David J Jackson wrote:
> Let's see if I can keep this short and simple.
> I'm having to problems with a hosting service.
> 1. inde
I am completely new to MySQL and I just installed it on my RH 7.2 server and I
cannot determine where the MySQL admin program is located so that I can set my
password.
Sorry for the basic question...
Todd
--
Todd Cary
Ariste Software
2200 D Street Extension
Petaluma, CA 94952
707-773-4523
[
On Sunday 12 May 2002 02:44, Todd Cary wrote:
> I am completely new to MySQL and I just installed it on my RH 7.2 server
> and I cannot determine where the MySQL admin program is located so that I
> can set my password.
>
> Sorry for the basic question...
mysqladmin
For further help please g
I tried "locate" and "find" and both come up empty for mysqladmin.
Am I missing something stupid here?
Todd
--
Todd Cary
Ariste Software
2200 D Street Extension
Petaluma, CA 94952
707-773-4523
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
"find" is your friend ...
Go to the install directory and type
find mysqladmin
-Original Message-
From: Todd Cary [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 11, 2002 2:44 PM
To: [EMAIL PROTECTED]
Subject: [PHP] MySQL and RH 7.2
I am completely new to MySQL and I just installed it
hi
you can also use http://www.webcron.org
At 13:29 06/05/02, John Holmes wrote:
> > > He did say he did /not/ want to invoke it from a browser :)
> > I didn't think that PHP could run w/o one though, so my idea was to
>use a
> > text browser, have it run the script, then exit out. As I said, I
Make sure that any PHP DLL's in your system32 directory are updated. If
they were updated to the newest versions, then what you describe is
definitely a big problem, not a nit.
--
Steve (www.stevemagruder.com)
"Garth Dahlstrom" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAI
I don't want to use a module though. I just want to take what a person
types and parse it so I can put it into a mysql query and search my
database of data. I share the server and I can't get mnoGoSearch
compiled in with PHP, so unless there's PHP code I can borrow from it, I
don't think it will h
This is a bug "Feature/Change Request" I made to:
http://bugs.php.net/bug.php?id=17158
setcookie() states "cookies must be sent before any other headers
are sent (this is a restriction of cookies, not PHP).
I argue this is a restriction of PHP, not cookies.
Here is my proof:
http://www.college
PHP is a server-side language and as such it deals with server-side
issues. If you want to write javascript that sets a client-side
Javascript cookie, go ahead. It has nothing to do with PHP and PHP will
certainly not get in your way.
-Rasmus
On Sat, 11 May 2002, jtjohnston wrote:
> This is a
Rasmus
server-side / client-side, that's not the point.
My point is PHP can, could and should be able to set a cookie after HTML is
set.
But of course, Jan has already closed the issue, as usual.
http://bugs.php.net/bug.php?id=17158
> PHP is a server-side language and as such it deals with se
If the issue has pissed you off in tha past,
complain. Vote: http://bugs.php.net/bug.php?id=17158
> Rasmus
> server-side / client-side, that's not the point.
>
> My point is PHP can, could and should be able to set a cookie after HTML is
> set.
> But of course, Jan has already closed the issue,
And you can do so if you turn on output buffering. Having PHP send off
JavaScript to do this is a massive hack that has no place in PHP. Write
your own setcookie wrapper function if that is what you want.
-Rasmus
On Sat, 11 May 2002, jtjohnston wrote:
> Rasmus
> server-side / client-side, tha
You've just pointed out that you're a clueless newbie, that's' all, and
can't read a spec worth a whit.
-Original Message-
From: jtjohnston [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 11, 2002 4:50 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] setcookie()
Rasmus
server-side / client-si
i'm sweating on this one :
function sql_fetch_row($res, $nr)
{
global $dbtype;
switch ($dbtype) {
case "MySQL":
$row = mysql_fetch_row($res);
return $row;
Hi,
I've about had it with my current hosting company as they've turned off SSH
for the past month due to "security reasons" which means I can no longer
add/remove tables from my MySQL database. Looking at two other hosting
companies - SBC Webhosting - www.webhosting.com and Verio - www.verio
Hi,
In my seemingly never ending search for a decent hosting company, I've
contacted some customer service people from Verio who tell me a very
interesting story ... they're currently upgrading their PHP to version 5
... which I find odd as there's only mention of 4.2.0 on php.net ...
So my q
He has no clue. There is no PHP 5. The next version will be 4.2.1 next
week and probably 4.3 after that.
-Rasmus
On Sat, 11 May 2002, Tim Thorburn wrote:
> Hi,
>
> In my seemingly never ending search for a decent hosting company, I've
> contacted some customer service people from Verio who te
Hey Tim,
I'm using 321go.biz for my hosting needs.
Not a single problem so far and around 30-90 minutes for each support
question to be solved which i think is pretty good. They are slightly
expensive though but i joined for the Java part, got PHP free!
Now that i'm into PHP I see they also offer
1 - 100 of 140 matches
Mail list logo