outlook express 6
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all.
I'm sorry about the dumb question, but I've just
expend two hours trying to find the damn cookie and I
couldn't :(
I've read that when you use sessions and configure the
php.ini with session.use_cookies = 1, your sessions
will always send cookies to the client (if the client
accept the cook
Mail/News-Client Sylpheed
On Sat, 7 Dec 2002 23:31:57 -0500 [EMAIL PROTECTED] (Conbud) wrote:
> I was just curious, but what program or website do you all use to view and
> reply to the newsgroups with ?
>
> Lee
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: ht
if you are allowing cookies on your browser, and the sessions are working
(as they appear to be), then there WILL be a cookie somewhere on your
browsing computer.
However, I think you're a little confused about what you'll find... you'll
just find a cookie named PHPSESSID, with a value of
Mozilla 1.2.1 ;-)
conbud wrote:
I was just curious, but what program or website do you all use to view and
reply to the newsgroups with ?
Lee
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(pardon the pun)
Please recommend a Snoopy tutorial,
=dn
PS Google has not been my friend!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have the newest foxserv on my comp. When i'm trying to open a xml document
with function $doc = domxml_open_file("test.xml");
It appears an error like this:
Warning: warning: in C:\FoxServ\www\nTrophy_usr_auth\nowy.php on line 3
Warning: failed to load external entity "menu.xml" in
C:\FoxServ\
Also using Mozilla
Davy Obdam wrote:
Mozilla 1.2.1 ;-)
conbud wrote:
> I was just curious, but what program or website do you all use to view
> and
> reply to the newsgroups with ?
>
> Lee
>
>
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
IE traditionally puts cookies in a folder named Cookies.
Do a search for 'cookies' -- see what you come up with.
on 08/12/02 10:17 PM, Douglas Douglas ([EMAIL PROTECTED]) wrote:
Hi all.
I'm sorry about the dumb question, but I've just
expend two hours trying to find the damn cookie and I
cou
On Sunday 08 December 2002 00:47, Jeremiah Breindel wrote:
> Thanks for responing Jason!
>
> There is other code in there for updating some database entries and
> producing a confirmation page, but I had them working perfectly before I
> added the image code below. Only when acessing the outside s
> -Original Message-
> From: Rick Widmer
>
> At 07:12 PM 12/7/02 -0500, Stephen wrote:
> >Another math question... How would I find the mode (number that repeats
most
> >often) of an array? Then, if there isn't a number that repeats most
often,
> >tell the user that.
>
> For each entry in
When I am try toput photo to the server I get this:
Warning: open_basedir restriction in effect. File is in wrong directory in
/mnt/host-users/zolty/tools/addprod.php on line 117
What is this?
Przemek
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/
i was reading about php.net looking for a way to force a download of a txt file,
rather than the browser displaying the file.
i ran into header() that seems to be able to accomplish it... but seeing as i'm very
much a newbie at php, i can't seem to make this work
if the file i want to download is
Are you using Internet Explorer? Then it's a "feature" of IE--it ignores
the disposition headers sent by your server because its registry tells
it that PDF files must be "viewed" inline. There's a way around it,
although it's a bit kludgy--I wrote a small article about it that you
can find here (it
Hello!
When trying to connect to a mysql database under my linux system, I get the
following error:
Warning: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2) in /webroot/dbconnect.php on line 2
Here is a copy of the code I am using:
I am currently running Apa
Im just about at wits end here Im trying to verify that a users ID and
Password exist in the MySQL Database and then if it does display certain
content and if it does not display login form content.
###At present here is the error I'm recieving:
Warning: Missing argument 3 for verifylogin() in
Hi,
Monday, December 9, 2002, 2:24:47 AM, you wrote:
SM> Im just about at wits end here Im trying to verify that a users ID and
SM> Password exist in the MySQL Database and then if it does display certain
SM> content and if it does not display login form content.
SM> ###At present here is the e
php-general Digest 8 Dec 2002 16:38:31 - Issue 1751
Topics (messages 127414 through 127436):
Re: Just Curious
127414 by: Leif K-Brooks
127415 by: Justin French
127419 by: Kyle Gibson
127420 by: rolf vreijdenberger
127422 by: Thomas Seifert
1274
Hi,
Monday, December 9, 2002, 2:29:35 AM, you wrote:
BJC> Hello!
BJC> When trying to connect to a mysql database under my linux system, I get the
BJC> following error:
BJC> Warning: Can't connect to local MySQL server through socket
BJC> '/var/lib/mysql/mysql.sock' (2) in /webroot/dbconnect.php
On Monday 09 December 2002 00:29, Brian J. Celenza wrote:
> Hello!
>
> When trying to connect to a mysql database under my linux system, I get the
> following error:
How did you install your apache, mysql & php? Source/RPM? If RPM, where did
you get the RPMs? IIRC Redhat's packaging of MySQL diff
I'm almost positive that the socket file is in the correct spot.
My installation was with Redhat 8.0, I also have mysqlcc installed, and it
uses /var/lib/mysql/mysql.sock successfully.
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTE
Found the problem...
Somehow my version of mysql had become uninstalled, and I have no idea why
that is. Thanks for all the help :)
"Brian J. Celenza" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello!
>
> When trying to connect to a mysql database under m
Przemysław Żółczyński PRV wrote:
When I am try toput photo to the server I get this:
Warning: open_basedir restriction in effect. File is in wrong directory in
/mnt/host-users/zolty/tools/addprod.php on line 117
What is this?
Przemek
open_basedir restricts the directories that may be used. T
On Sat, Dec 07, 2002 at 07:12:09PM -0500, Stephen wrote:
>
> Another math question... How would I find the mode (number that repeats most
> often) of an array? Then, if there isn't a number that repeats most often,
> tell the user that.
A while back, I wrote functions for mean, median and mode.
Can you set something like a "setTimeout" feature in fopen? That is, if you use fopen
to open a URL for "scraping", if that URL's server is down or doesn't respond in x
seconds, can you set a feature to show an error message or a "friendly" error message
indicating such?
Thanx
Phil
Hi,
Can I check mysql version so if version >= 4 $sql = 'version 4 stuff' else $sql
="version 3 stuff";
--
John Taylor-Johnston
-
"If it's not open-source, it's Murphy's Law."
- Université de Sherbrooke:
On Sunday 08 December 2002 20:42, John Taylor-Johnston wrote:
> Hi,
> Can I check mysql version so if version >= 4 $sql = 'version 4 stuff' else
> $sql ="version 3 stuff";
Try this SQL-Statement:
SEELCT VERSION();
MySQL-Manual: http://www.mysql.com/doc/en/Miscellaneous_functions.html
johannes
mysql> SELECT VERSION();
-> '3.23.13-log'
Ok, how do I PHP it for greater than or equals version 4 :?
John
Johannes Schlueter wrote:
> On Sunday 08 December 2002 20:42, John Taylor-Johnston wrote:
> > Hi,
> > Can I check mysql version so if version >= 4 $sql = 'version 4 stuff' els
On Sunday 08 December 2002 20:40, Johannes Schlueter wrote:
> SEELCT VERSION();
Should be SELECT VERSION()
;-)
johannes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$sql = "SELECT VERSION()";
$result = mysql_query($sql);
$ver = mysql_fetch_assoc($result);
if($ver[0] >= 4)
{
echo "You have MySQL 4.0 or greater";
}
else
{
echo "You DON'T have MySQL 4.0 or greater";
}
Not sure if that'll work or not, I haven't tested it. Hope it does though.
- Ori
oh gawd... get the spoons...
$query = mysql_query("select version as version")
while ($result = mysql_fetch_row($query)) {
// do a strcmp() or ereg() on $row['0']
}
- Original Message -
From: "John Taylor-Johnston" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 08, 2
How can you hide URL variables without using the POST method in a form?
Thanks,
Stephen Craton
http://www.melchior.us
"What is a dreamer that cannot persevere?" -- http://www.melchior.us
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
how about something like...
$start = time();
$timeout = 60; // number of seconds to try
while (!$file = fopen("...") && time() < $start + $timeout);
if ($file)
{ // do stuff with file
}
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Phil Powell <[EM
store them in a session or cookie
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Stephen <[EMAIL PROTECTED]>
To: PHP List <[EMAIL PROTECTED]>
Sent: Sunday, December 08, 2002 8:10 PM
Subject: [PHP] Hiding URL Variable
> How can you hide URL variables
Thanks Jason,
I saw this a while ago and it solved the problem perfectly.
On Thu, 5 Dec 2002 06:11:40 +0800, [EMAIL PROTECTED] (Jason Wong) wrote:
> On Thursday 05 December 2002 05:58, Malcolm Brownell wrote:
> > Hi,
> >
> > I have some database fields I want to select and email.
> >
> > I h
I've got 4.1.1 and it's
upload_max_filesizemine is default 2 M
maybe you have a different version.
hth
m
On Thu, 5 Dec 2002 10:32:44 -0800, [EMAIL PROTECTED] (Roger Lewis) wrote:
> This is further to my post yesterday on Max File Size.
>
> I was able to set upload_max_filesize to 790
As a followup, I know someone mentioned Crimson Editor for my question.
It installed fine on WinXP as a general user, but it wanted to access
the registry and wouldn't install as a general user under Win2K. FYI...
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get
I ask this list now because nobody could answer my question on the apache list.
I installed Apache 2.0.43 --with-mpm=perchild in order to get more
security in executing php-scripts. I know that perchild is
experimental but I couldn't run it at all. We will make some tests -
without success.
When
Sorry I know this is off subject but I'm in a bind.
I have a problem with my Solaris box booting up.
Does I fairly new to all of this so does anybody know a good newsgroup for Solaris??
My problem is I added a file so a program would auto load. I added the file to
etc/rc2.d
Now this program load
Kris,
a couple of options for you to try are http://www.sun.com/bigadmin
http://www.solariscentral.com also have a search in google
also you can try this... resart the machine and press stop a after the
banner comes up and you get the "ok" prompt .. then type boot -s (for single
user mode) (you w
Hi,
I'm running the following code on two servers:
On my local development box (Free BSD, PHP 4.1.1, on AUSTRALIAN time), the
above echo's "Wed, 11 Dec 2002" (I consider this to be the "correct date".
However on the live server (Red Hat, PHP 4.2.3, hosted in CANADA) the above
code echo's "Tue,
Thank you so much
Worked like a charm!! :)
Kris
- Original Message -
From: "Peter Houchin" <[EMAIL PROTECTED]>
To: "Kris" <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]>
Sent: Monday, December 09, 2002 12:01 PM
Subject: RE: [PHP] Solaris
> Kris,
>
> a couple of options for you to t
Daylight Savings Time?
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
> -Original Message-
> From: Justin French [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, December 08, 2002 8:59 PM
> To: php
> Subject: [PHP] da
Hello,
"John W. Holmes" <[EMAIL PROTECTED]> wrote:
> Daylight Savings Time?
John, I think "Daylight Saving Time" creates a difference of 1 hour and not
1 day :)
Anyway, I live in a place where we don't practice this so I could be
wrong...
...[snip]...
> > Now, what could be causing this probl
But, then again, it could be just because the other server's time is really
late... (caused by old motherboard batteries, etc.)
- E
"@ Edwin" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> "John W. Holmes" <[EMAIL PROTECTED]> wrote:
>
> > Daylight Savings Time?
>
> John, I think "Daylight Saving Time"
on 09/12/02 1:30 PM, @ Edwin ([EMAIL PROTECTED]) wrote:
>> Daylight Savings Time?
>
> John, I think "Daylight Saving Time" creates a difference of 1 hour and not
> 1 day :)
True... but I checked it anyway -- by adding just one and two hours to the
stamp... which made no difference... but when I
Hi,
Monday, December 9, 2002, 11:59:07 AM, you wrote:
JF> Hi,
JF> I'm running the following code on two servers:
JF> $stamp = 1039525200;
JF> echo date('D, d M Y',$stamp);
?>>
JF> On my local development box (Free BSD, PHP 4.1.1, on AUSTRALIAN time), the
JF> above echo's "Wed, 11 Dec 2002" (I
Wilmar Perez wrote:
Hello guys
I'm sorry if this message disturbs anyone, I know it is completely off topic.
I've been thinking about open a C# mailing list for I hadn't been able to find a good
one so far. All I want to know is if there is enough people out there interested in
joining such l
"Justin French" <[EMAIL PROTECTED]> wrote:
[snip]
> Perhaps strtotime() is NOT running off GMT,
[/snip]
Bingo!
...or, Bull's eye!, whatever :)
Anyway, I think this is "implied" in the manual.
http://www.php.net/manual/en/function.strtotime.php
Also, check "User Contributed Notes":
pira
on 09/12/02 3:06 PM, @ Edwin ([EMAIL PROTECTED]) wrote:
> [snip]
>> Perhaps strtotime() is NOT running off GMT,
> [/snip]
>
> Bingo!
*GULP*... so, what we're saying is, that if I intend to pass data around on
multiple servers (in different timezones) using a unix timestamp for dates
(which i pre
php-general Digest 9 Dec 2002 05:40:32 - Issue 1752
Topics (messages 127437 through 127468):
Re: mysql_connect problem under RedHat 8.0 ?
127437 by: Tom Rogers
127438 by: Jason Wong
127439 by: Brian J. Celenza
127440 by: Brian J. Celenza
Re: open_basedir
Sorry, your code produced this error and I can't figure out how to debug it
:(
Warning:
fopen("http://www3.brinkster.com/soa/val/profile/display.asp?showLeftNavBann
er=1","r") - Error 0 in /users/ppowell/web/profiledisplay.php on line 4
Phil
- Original Message -
From: "Tim Ward" <[EMAIL
"Justin French" <[EMAIL PROTECTED]> wrote:
> on 09/12/02 3:06 PM, @ Edwin ([EMAIL PROTECTED]) wrote:
>
> > [snip]
> >> Perhaps strtotime() is NOT running off GMT,
> > [/snip]
> >
> > Bingo!
>
> *GULP*... so, what we're saying is, that if I intend to pass data around
on
> multiple servers (in diff
53 matches
Mail list logo