Justin French wrote:
>
> Hi all,
>
> About 2.30 in the morning I started kicking around an idea, based on the
> recent discussions on sessions, and what --enable-trans-sid did.
>
> From my understanding:
>
> + if there is no session cookie, set a cookie AND append a
> session ID to URLs
> I have a mysql database table of about 7000 images (they are
> not actually in the db, just references), as yet
> uncategorized. I need to put them online and allow my
> client to browse 12-18 thumbnails per page.
>
> what would be the most efficient method to code that with
> PHP?
Hello,
Please read the second part of the message being forwarded and
contribute to make PHP have better recognition by voting for the
creation of the comp.lang.php newsgroup. The explantion about the
importance of this is in the message.
--
Regards,
Manuel Lemos
--- Begin Message ---
He
Can I tell you more than what the subject says?
proceeding:
Close the browser, clean all your cookies, and open any page with that
?PHPSESSID=spoofme appended.
And see what happens.
1) No cookies are left
2) a session 'spoofme' is created
Do you need more? Javascript url injection ad cross site
I myself wrote:
>
> Can I tell you more than what the subject says?
> proceeding:
> Close the browser, clean all your cookies, and open any page with that
> ?PHPSESSID=spoofme appended.
> And see what happens.
>
> 1) No cookies are left
> 2) a session 'spoofme' is created
>
> Do you need more?
Giancarlo Pinerolo wrote:
>
> I myself wrote:
> >
> > Can I tell you more than what the subject says?
> > proceeding:
> > Close the browser, clean all your cookies, and open any page with that
> > ?PHPSESSID=spoofme appended.
> > And see what happens.
spoofme is not the exact term.
?PHPSESSID=
Hi,
how to make sql Result case sensitive with php.
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
That's Ok
See :
http://www.zend.com/tips/tips.php?id=199&single=1
"Fincom" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> Hi,
>
> how to make sql Result case sensitive with php.
>
> thanks
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> I have a mysql database table of about 7000 images (they are not
> actually in the db, just references), as yet uncategorized. I need to
> put them online and allow my client to browse 12-18 thumbnails per page.
>
> what would be the m
If you destroy the session (for exaple with a logoff button) this dosen
work.
Josep R. Raurell
Giancarlo Pinerolo wrote:
>Giancarlo Pinerolo wrote:
>
>>I myself wrote:
>>
>>>Can I tell you more than what the subject says?
>>>proceeding:
>>>Close the browser, clean all your cookies, and open a
Hey Scott, that at least helped me to find out what is going wrong.
When I use the code as you told me...
$fd=readdir("/home/casapu/paginas /image/caterleras/");
if (!$fd) die ("Can't read dir");
It gives me:
Warning: Supplied argument is not a valid Directory resource in
Hi,
Does someone have a PHP yEnc decode routine?
Greetings, Herbert
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Michael,
If you used to run it some time ago and it worked then but does not now
then something has changed (obvious I know). Within the "something that
has changed" is the answer, we just need to find it.
Is it the same version of Oracle and same means of getting to Oracle
from php (I mean t
Hey all,
I am having some troubles setting cookies at the moment wondering if
anyone knows the solution.
Anyhow basically what is happening, is that cookies are been set fine,
however say I try to set two cookies in the one script
i.e.
setcookie("username", $HTTP_POST_VARS['username'], time(
Just came to think of it now, is it possible to link to php scripts, on..
lets say my server, from an online account I have, that does not support
php.
I was mostly thinking of counters included on pages now, but other things
to, like $date() and similiar.
wxw.hostedscripts.com uses cgi for the l
Sorry if this shows twice. I originally posted it with Mozilla and forgot
that this newsgroup server seems to ignore postings from it. This one is
posted from IE.
I've got a mail function script that occasionally terminates midway while
sending out about 600 emails.
The symptoms point to the "
Is that a space in the directory path?
I think you will have to use opendir() function first.
"opendir: Returns a directory handle to be used in subsequent closedir(),
readdir(), and rewinddir() calls. "
The manual has some good examples.
-Original Message-
From: [EMAIL PROTECTED]
[mai
On Friday, June 7, 2002, at 03:06 AM, rory oconnor wrote:
> I have a mysql database table of about 7000 images (they are not
> actually in the db, just references), as yet uncategorized. I need to
> put them online and allow my client to browse 12-18 thumbnails per page.
>
> what would be the
php-general Digest 7 Jun 2002 13:52:04 - Issue 1391
Topics (messages 101055 through 10):
Re: NEWBIE- Is this possible? How?!
101055 by: Peter
101058 by: Justin French
101067 by: Kevin J
PHP and ZIP/TAR.GZ files
101056 by: Mukherjee, Devraj
101069
Al,
Interesting. I use Mozilla and I've never had any emails rejected or
heard of anyone else have it happening. Have you some more information
or is this an urban legend?
Regards
Chris
Al wrote:
>Sorry if this shows twice. I originally posted it with Mozilla and forgot
>that this newsgrou
On Thursday, June 6, 2002, at 11:07 PM, Kevin J wrote:
> I am sure this isn't the best way to learn PhP, but I am running out of
> ideas for making this website work. Static content just seems boring
> these
> days, so I would liek to "spice" up the site by having the band members
> themselves
On Friday, June 7, 2002, at 12:50 AM, Analysis & Solutions wrote:
> On Thu, Jun 06, 2002 at 04:57:42PM -0400, Erik Price wrote:
>
>> I have a method in my class that essentially unsets an array element.
>
> Uh, I know you're a sharp guy, but I've got to ask anyway. If it's
> doing such a simpl
Opps, hit the reply rather than the reply group. I normally use Moz.
I'm subscribed to 8 newsgroup servers. All work perfect except news.php.
I replied to you message with Moz; but it doesn't show.
This one is with IE
"Chris Hewitt" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">ne
Let's say I have an array...
$my_array[] = array('bob' => $x, 'jim' => $y, 'mike' => $z);
Now I want to find the name of the second element in the array (I want
my result to be 'jim')
How do I do this? I think I might have to use the key() function but I
can't quite get it to wkr.
Thanks!
On Thursday, June 6, 2002, at 06:57 PM, Anthony Ritter wrote:
> I understand that one can open a page off an existing website to extract
> text data using a PHP script by using the fopen and fread functions.
>
> And by using the strip_tags() function, one can extract data without the
> html mar
You can create the column with a BINARY flag to make it case-sensitive,
or use blobs, which are case-sensitive by nature.
You can also use the keyword BINARY to cast a column to case-sensitive
in your query.
From:
http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html
#Case_Sen
Why not use PHP's built in image library:
http://www.php.net/manual/en/ref.image.php -- it's pretty cool. The
resample function doesn't exist in some old install but it's quite easy to
write your own -- just doesn't run as fast as a compiled version.
Dan
--
PHP General Mailing List (http:/
On Friday 07 June 2002 22:16, Phil Schwarzmann wrote:
> Let's say I have an array...
>
> $my_array[] = array('bob' => $x, 'jim' => $y, 'mike' => $z);
you probably meant to define it as:
$my_array = array('bob' => $x, 'jim' => $y, 'mike' => $z);
use print_r($my_array) to see the difference bet
Sounds like you are working on a windows box with a bad battery back up for
the clock!
Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474
-Original Message-
From: Miguel Cruz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 4:01 P
How do I determine if an account has new, unread email messages? The
messages are on the same host as the PHP program and webserver. Is
there a way to tell by examining /var/spool/mail? (I am running Linux
Mandrake 8.1.)
That is my prefered way. I also am running an IMAP server on the host.
How do I determine if an account has new, unread email messages? The
messages are on the same host as the PHP program and webserver. Is
there a way to tell by examining /var/spool/mail? (I am running Linux
Mandrake 8.1.)
That is my prefered way. I also am running an IMAP server on the host.
Quick question...
I have a site where user's log in, they put their user name and password in
a form and if they are verified against the database, session variables are
created,
$_SESSION['user'];
$_SESSION['pass'];
and they get sent to the next page by way of,
header("Location: https://www.m
Hiya!,
Does anyone know whether mysql_num_rows is zero or one based?
that is, if I have 5 records will mysql_num_rows() return 4 or 5?
Thanks in advance!,
Dw.
(I did check the php.net and MySQL manual for mysql_num_rows,
php.net dosent say and MySQL only gives a one line description, which is h
[snip]
Does anyone know whether mysql_num_rows is zero or one based?
[/snip]
It's one based.
Jay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
thanks Dave, that makes sense...
i was just thinking of a mailing list totally controled through email...
Like people if they want to subscribe, they send an email with "subscribe"
in the subject, etc...
gabi.
"David Freeman" <[EMAIL PROTECTED]> wrote in message
001f01c20dce$4bcc4ee0$[EMAIL PRO
That's Ok too. I did that, and this is the message i get:
PHP Warning: Unable to load dynamic library
'C:\Php421\extensions\php_ifx.dll' - The specified procedure could not be
found. in Unknown on line 0
I'm just not fighting anymore with it. I'm using ODBC now, but i would
really like to unders
Hi Jeff:
On Fri, Jun 07, 2002 at 10:25:27AM -0500, Jeff Field wrote:
>
> Is it simply enough to just check that $_SESSION['user'] is present, and
> therefore, by that alone assume the user has logged in and should be granted
> access? Or, should I be verifying the $_SESSION['user'] and
> $_SESS
That's what majordomo and the others do. People send messages to
[EMAIL PROTECTED] that have commands like subscribe, unsubscribe,
digest, etc.
Glenn
On 10:39 AM 6/7/2002 -0500, The Gabster wrote:
>thanks Dave, that makes sense...
>
>i was just thinking of a mailing list totally controled thro
Hello all!
Some of you know, some of you don't know that I'm the maintainer of a
GNU PHP groupware project - http://outreach.sourceforge.net (the project
name is OPT) - sorry, couldn't help advertising :-). One of the users of
OPT has major problems uploading files to the system and I have
ab
Thanks for your reply!
I tried using array_slice but I don't think that's exactly that I want
to do.
I want to find the name of the n-th value in an array. Not the value of
the n-th, but whatever name was given to it. Array_slice seems to just
pull part of an array and put it in another. and
You are also assuming that the session hasn't been hijacked.
Other things you can do are store the user's UserAgent in a session var
and check it on every page (session spoofer MIGHT be using a different
browser), and do likewise for IP address. Although remember that AOL
users will have pro
I'm trying to make a script that'll take some pages from a database but
I want it to execute the PHP that's in the pages that it'll fetch from
the database.
Say it gets the data from the page in $data I want it to put the data on
the screen and if there's some PHP code in the $data variable I wan
You want the eval() function.
manual entry:
http://www.php.net/eval
mh.
On Fri, 7 Jun 2002, Jean-Rene Cormier wrote:
> I'm trying to make a script that'll take some pages from a database but
> I want it to execute the PHP that's in the pages that it'll fetch from
> the database.
>
> Say it ge
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi everyone
I have compiled php with --enable-trans-sid but when I diable cookies on
my brower (Mozilla 1) the obeject I'm trying to pass (eg: its
properties) are not bein passed.
I've used sessions a lot so I'm sure it's not my php at fault but
som
Your way to check for privileges sounds good. However, at my site, for this
one area (basically, the customer's area) there's only one privilege; you
either have access or you don't. So, I'm assuming my way is probably good
enough for now.
In regards to the presence of the session itself being
On 06:33 PM 6/7/2002 +0200, Nick Wilson wrote:
>I have compiled php with --enable-trans-sid but when I diable cookies on
>my brower (Mozilla 1) the obeject I'm trying to pass (eg: its
>properties) are not bein passed.
>
>I've used sessions a lot so I'm sure it's not my php at fault but
>something
Hi again,
how can i find out the keysize of the clients Browser (SSL). We have an area
only for Users who are capable of 128bit SSL. IE 5.5 with only 56-Bits SSL
says that the Server is Down !!
So i have to check the keysize before the user tries to log in, but i fond
no way...
Jens
--
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Glenn Sieb declared
> >I have compiled php with --enable-trans-sid but when I diable cookies on
> >my brower (Mozilla 1) the obeject I'm trying to pass (eg: its
> >properties) are not bein passed.
> >
> >I've used sessions a lot so I'm
This might be what you need.
http://www.php.net/manual/en/function.eval.php
-Jared
-Original Message-
From: Jean-Rene Cormier [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 12:11 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP code in a database
I'm trying to make a script that'll
On Friday 07 June 2002 23:59, Phil Schwarzmann wrote:
> Thanks for your reply!
>
> I tried using array_slice but I don't think that's exactly that I want
> to do.
>
> I want to find the name of the n-th value in an array. Not the value of
> the n-th, but whatever name was given to it. Array_slic
All right I've used the help that I've gotten before about this and edited this
function of code I have. Initially the code was meant to mail out a post to every
email that was listed in the database. The problem was that it sent all the emails in
the TO: section of the email. Now being that
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Friday 07 June 2002 12:32, Ed Greenberg wrote:
> > I have a small test script which fails when
enctype="multipart/form-data"
> > is set.
> >
> Have you enabled file uploads in php.ini?
>
> --
Prob
Dear Anonymous Person:
To solve your problems and get prompt, accurate, friendly help from this
list please...
1) Write readable code. By that I mean use nesting. That way we, and
might I add, you, can quickly understand the logic of your script.
2) Turn line wrapping on in your email c
Sorry I was too sleepy to realize the Red and BOLD wouldn't come through on the list.
Here is the message again but I was smart enough this time to comment those section.
All right I've used the help that I've gotten before about this and edited this
function of code I have. Initially the cod
>The problem being now I am getting a parse error on lines 30.
Line 29, 30, and 31 is where exactly in all this??
Kind Regards,
Chris Knipe
MegaLAN Corporate Networking Services
Tel: +27 21 854 7064
Cell: +27 72 434 7582
- Original Message -
From: "Anti-Blank" <[EMAIL PROTECTED]>
To:
On Fri, Jun 07, 2002 at 11:32:48AM -0500, Jeff Field wrote:
>
> In regards to "Passing/testing the password on each page is unnecessary and
> poses security risks.", I'm under the impression that when I create the user
> and password variables, the variables are only available in the session
> co
On Fri, Jun 07, 2002 at 01:37:22PM -0400, Analysis & Solutions wrote:
>
> To solve your problems and get prompt, accurate, friendly help from this
> list please...
Oh, and might I add
5) Don't repeatedly post your question to the list.
Geez,
--Dan
--
PHP classes that make
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Anti-Blank declared
now I am getting a parse error on lines 30. Included are the original
Which is line 30?
- --
Nick Wilson // www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE9AP
1) As for the nesting thats fine, I thought sections were clear, I suppose
not.
2) My apologies there, my client says that line wrapping is turned on.
3) The full text of the error message isn't very helpful at least not to me.
Parse error: parse error in /www/foo/htdocs/updates/functions.php on
> I want to find the name of the n-th value in an array. Not the value of
> the n-th, but whatever name was given to it. Array_slice seems to just
> pull part of an array and put it in another. and key() isn't exactly
> what i want either..
Maybe this will help:
> $my_array = array('bob' =>
Lines 29, 30, and 31
//29
$headers = $from . "\r\n" . $bcc . "\r\n"
//30 - The Next Line is where I'm getting the parse Error at:
mail ($to, $setting_site_name, $mailpost, $headers) or $emailsuccess
="Failure sending email.";
//31
if ($emailsuccess == "") {$emailsuccess = "Email Sent Successfully.
On Friday, June 7, 2002 at 7:08:00 PM, you wrote:
> Lines 29, 30, and 31
> //29
> $headers = $from . "\r\n" . $bcc . "\r\n"
> //30 - The Next Line is where I'm getting the parse Error at:
> mail ($to, $setting_site_name, $mailpost, $headers) or $emailsuccess
> ="Failure sending email.";
> //31
>
Hi,
sorry if maybe this is a bit dumb question, but I'm a begginer with php...
I got a mysql database, where two of the fields of a table record times as
CHAR(8) in the format hh:mm:ss
I want to take this two times and get the difference between them in
seconds, for example 12:01:30 - 12:00:00
Absolutely right! I'm storing the password needlessly. I've got the user
name and that's all I need for anything further. Thanks!
Jeff
> -Original Message-
> From: Analysis & Solutions [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 07, 2002 12:42 PM
> To: PHP List
> Subject: Re: [PHP
On Friday, June 7, 2002, at 12:32 PM, Jeff Field wrote:
> I'm under the impression that when I create the user
> and password variables, the variables are only available in the session
> cookie on my own server, not in the cookie that is sent to the user to
> maintain sessions. The cookie sent
Talking under correction, but you'll be better of using a TIME column in
MySQL. You can also do all the calculations with MySQL's build in time
functions already, which will save you allot of time, seeing that all the
calculations can be done via a single SQL query.
--
me
- Original Messag
Is there a reason you insist on using a CHAR field, instead of a TIME
field, which would make this all easier and allow you to use the
multitude of MySQL Date and Time Functions in your query... ???
---John Holmes...
> -Original Message-
> From: juaid [mailto:[EMAIL PROTECTED]]
> Sent: F
From: "Chris Knipe" <[EMAIL PROTECTED]>
>
> Talking under correction, but you'll be better of using a TIME column in
> MySQL. You can also do all the calculations with MySQL's build in time
> functions already, which will save you allot of time, seeing that all the
> calculations can be done via
On Friday, June 7, 2002, at 02:01 PM, juaid wrote:
> sorry if maybe this is a bit dumb question, but I'm a begginer with
> php...
>
> I got a mysql database, where two of the fields of a table record times
> as
> CHAR(8) in the format hh:mm:ss
>
> I want to take this two times and get the dif
On Friday, June 7, 2002, at 02:22 PM, Erik Price wrote:
> First of all, if you're storing time then you're better off using the
> DATETIME column type. Even though it may take a bit more space than
> CHAR(8), unless you absolutely need the ultimate in table optimization,
> use DATETIME.
I
note that I put:
$startTime = $linea["startTime"];
I misppeled it while copying, this shuold be
$startTime = $line["startTime"];
juaid
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Umm...How about using UNIX_TIMESTAMP() in your query, then you won't
need any of that PHP code you just wrote...
---John Holmes...
> -Original Message-
> From: Erik Price [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 07, 2002 2:22 PM
> To: juaid
> Cc: [EMAIL PROTECTED]
> Subject: Re: [
1) Why are you using JavaScript to open the window? HTML will do just fine
() and will work on all browsers as well as search
engines.
2) Your sample page has some password on it and I can't decipher from your
message what's actually going on, so without seeing it in action, I'm
stumped.
mig
That error means your query failed and the result set is not valid. You
can't use LIKE on a TIME column.
Can you explain exactly what you want? How are you storing the times,
what are the times, what kind of data do you want to pull out of the
table?
I'll guarantee that there is one easy query
Thank you very much Erik, I'll try it :)
anyway, it would be nice to know what's wrong with the code I posted, why
does it work with CHAR and not with TIME types?
juaid
From: "Erik Price" <[EMAIL PROTECTED]>
>
> First of all, if you're storing time then you're better off using the
> DATETIME c
On Thu, 6 Jun 2002, webmaster mbtradingco wrote:
> Hey Scott, that at least helped me to find out what is going wrong.
>
> When I use the code as you told me...
>
>$fd=readdir("/home/casapu/paginas /image/caterleras/");
>if (!$fd) die ("Can't read dir");
>
> It gives me:
> > Talking under correction, but you'll be better of using a TIME column in
> > MySQL. You can also do all the calculations with MySQL's build in time
> > functions already, which will save you allot of time, seeing that all
the
> > calculations can be done via a single SQL query.
>
> Yes, this
From: "John Holmes" <[EMAIL PROTECTED]>
>
> That error means your query failed and the result set is not valid. You
> can't use LIKE on a TIME column.
>
> Can you explain exactly what you want? How are you storing the times,
> what are the times, what kind of data do you want to pull out of the
>
- Original Message -
From: "John Holmes" <[EMAIL PROTECTED]>
To: "'juaid'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, June 07, 2002 8:29 PM
Subject: RE: [PHP] convertion from string to time & substracting
> That error means your query failed and the result set is not valid.
> where $month, $day and $year are got from a form in the previous page via
> POST method.
> So the LIKE condition matches against the "date" field in the table, where
> the format is like "Jun 7 2002"
>
> if I switch connTime, startTime and stopTime to TIME types, I get the
error
> I said
>
> I'l
From: "Chris Knipe" <[EMAIL PROTECTED]>
> I also started off implementing mysql lookups
> without error checking and posted rather silly mistakes to the list which
> could have easily been avoided just debugging the code properly
%$&@#!!!
thank you very much Chris... stupid error.. I had done so
Okay, sorry. I stand corrected. :)
Either way, the query still failed for some reason. The recommendation
to use MySQL_error() is still a good one...
---John Holmes...
> -Original Message-
> From: Chris Knipe [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 07, 2002 2:44 PM
> To: [EMAIL
Can I make a Chat with PHP or what must I do?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Well, I got all working now and calculating the duration with mysql
functions
The fields which which hold times are now TIME types, and everything works
really good!!!
Thanks again to all :)
juaid
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
www.google.com
search for PHP Chat and see what you come up with. when you have a specific
problem, come back here and we'll see what we can do for you.
This list is most definitely not to tell you how to develop applications
To give you a head start, there's something called PHPIRC or som
I thought that it was a CHAR column. I didn't know you could use
UNIX_TIMESTAMP() on CHAR columns, so I was showing him how to turn his
colon delimited strings into timestamps with mktime().
Erik
On Friday, June 7, 2002, at 02:27 PM, John Holmes wrote:
> Umm...How about using UNIX_TIMESTAM
Yeah, if he kept CHAR, then he'd have to do all of that. We were trying
to convince him to switch to a TIME column, though, to make things
easier. Which he did...which does...
:)
---John Holmes...
> -Original Message-
> From: Erik Price [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 07
Awesome :-)
Glad to have been able to help...
--
me
- Original Message -
From: "juaid" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 07, 2002 9:22 PM
Subject: [PHP] string convertion to time & substracting
> Well, I got all working now and calculating the duration wit
Hi,
Compiled and installed Apache 1.3.24 with mod_ssl and mod_perl. Compiled and
installed PHP 4.2.1 with the following:
'./configure' '--with-mysql' '--with-apxs' '--enable-dbase' '--with-imap'
'--with-kerberos' '--with-imap-ssl' '--enable-track-vars'
'--enable-force-cgi-redirect' '--with-g
When you use the --with then you need to specify a directory...
Read up on the configuration of php on php.net
Thank you,
RAY HUNTER
-Original Message-
From: Don [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 1:47 PM
To: php list
Subject: [PHP] Can't get PHP running with apac
RE: [PHP] Can't get PHP running with apacheOops. Sorry. my PHP configure actually
has the folowing:
./configure --with-mysql --with-apxs=/usr/sbin/bin/apxs --enable-dbase --with-im
ap --with-kerberos --with-imap-ssl --enable-track-vars --enable-force-cgi-redir
ect --with-gettext
which states
Did you add the module info to your httpd.conf file?
Thank you,
RAY HUNTER
-Original Message-
From: Don [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 1:56 PM
To: Ray Hunter; 'php list'
Subject: Re: [PHP] Can't get PHP running with apache
Oops. Sorry. my PHP configure ac
RE: [PHP] Can't get PHP running with apacheThe following was added by the compile of
PHP 4.2.1:
LoadModule php4_modulelibexec/libphp4.so
AddModule mod_php4.c
The following was added by me:
AddType application/x-httpd-php .php .html .phtml
So..., if the compile added the line for mo
I have PHP installed both as a module, and as a CLI. When I use CURL
from inside the module, it works fine for all connections, including
SSL. When I use the CLI, I can't make SSL connections with CURL. It just
returns 'false'. Anyone know why?
--
PHP General Mailing List (http://www.php.net
you miss understood what I was saying. I said to have your hotmail account
setup as the return email address and then send mail to you ISP. if the
mail bounces it will be returned to your hotmail account instead of your
ISP. if you do receive the mail returned to your hotmail account. it should
Are you sure curl was included with the CLI installation? Try running
this through the CLI to check...
if(extension_loaded('curl')){
echo 'curl support present';
} else {
echo 'curl not found';
}
mh.
On 7 Jun 2002, Matthew Walker wrote:
> I have PHP installed both as a module, and as a C
Hi,
I am trying to track every user who visits my site (over 100,000 per
minute..), and I have over 25 queries in my tracking script... and I have a
feeling some users are "closing" the script before it finishes executing,
even though my script loads very quickly.. and its causing some of my MySQ
How would you loop though a file ( or web page) and get all of a certain
thing. I'm trying to strip stuff out of tables, but I have only managed to
get the first of what I'm searching for. My expression is
eregi("[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}", $search, $content);
which does the job,
well, either make sure $search contains the entire page
or, you have an array fo lines, loop thru it line by line
foreach ($lines as $line)
eregi( ... )
AFAIK, eregi will match *everything* and dump it all into
$matches (at least that's the behaviour that pregs follow,
i dont use eregs)
Hello,
There seem to be a couple of bugs in the strip_tags() function, one minor
(or at least I know how to circumvent it) and one more serious.
The minor problem is that it treats a "not-equals" sign, "<>", as an empty
tag and strips it, unless it's explicitely set as an allowed tag
(as in stri
1 - 100 of 159 matches
Mail list logo