Which is faster (and/or smarter), using function mail() or doing it by
popen(/blah/sendmail)?
Niklas
$Query = SELECT * FROM enet WHERE TechContact LIKE '%' AND AdminContact
LIKE '%';
This query simply prints out my entire tables, is there a way using PHP so I
can make the '%' a user input so they can search the table under those
fields.
Cheers
--
PHP General Mailing List
$Query = SELECT * FROM enet WHERE TechContact LIKE '%$Avar1%' AND
AdminContact LIKE '%$Avar2%';
try this. Avar1/2 needs to be replaced by your var that u use in your html
form
Devon [EMAIL PROTECTED] schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
$Query = SELECT * FROM
Are you using move_uploaded_file() to move the file into place?
On Thu, 6 Sep 2001, Justin French wrote:
Hi all,
My understanding of the whole file uploading thing is not fantastic, and
i'm unsure where to go next with this one.
I have a file-upload script which works fine on my test
if include doesn't work or isn't an optimal solution, you can also use
fopen: this will make another request to the webserver, like a client
request, but sometimes is useful.
write: $fp = fopen(http://www.site.com/script.php?var=string..., this
should work.
Federico
Sort of yes
I thought it can be done with the /e modifier!
Can't it be done with pure RegExps?
* RZe: [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Original message
From: _lallous [EMAIL PROTECTED]
Date: Wed, Sep 05, 2001 at 12:17:21PM +0200
Message-ID:
Original message
From: Christian Haines [EMAIL PROTECTED]
Date: Thu, Sep 06, 2001 at 03:15:05AM +1030
Message-ID: [EMAIL PROTECTED]
Subject: [PHP] session - why does this not work?
hi all,
any ideas why this does not work? its just a simple script to test
multi-dimensional arrays. the count
Changes made to my php.ini file are not showing up upon a restart of apache.
I compiled php to use the php.ini in a directory of my choosing and this is
the directory which phpinfo() reports the php.ini file to be found. Yet all
changes are ignored.
Any ideas why?
brett newman
[EMAIL
Original message
From: Gerard Samuel [EMAIL PROTECTED]
Date: Thu, Sep 06, 2001 at 01:10:15AM -0400
Message-ID: [EMAIL PROTECTED]
Subject: [PHP] str_replace and arrays
Hey all. Im trying to reduce some lines of code that has muliple lines
of str_replace. I figure lets try using arrays but
onMouseOver=info(?$xline=__LINE__;
Dunno, should this be: onMouseOver=info('?$xline=__LINE__;.')
instead?
I mean I see no quotes surrounding the javascript string (that is generated
from PHP).
Adrian D'Costa [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL
Sort of yes
I thought it can be done with the /e modifier!
Well... the /e modifier is used. But you have a different problem,
you're matching over multiple lines. That's what the /m modifier is
for.
Can't it be done with pure RegExps?
Ehh... no. How would you implement an if-statement
Can someone tell me what i'm doing wrong here?
?php
//Connect to db
$db = mysql_pconnect(localhost,login,pass);
mysql_select_db(database,$db);
//Check for the IP
$result2 = mysql_query(SELECT ip FROM ip where ip = '$REMOTE_ADDR',$db);
while($myrowmysql_fetch_array($result2))
{
echo Print
Ehh... no. How would you implement an if-statement then?
I thought I could have build a regexp that allow you to specify a default
value of a subset if it was not matched...
and it seems there is no way then!
Thanks Renze.
* RZe: [EMAIL PROTECTED] wrote in message
[EMAIL
On Thu, 6 Sep 2001 18:09, [EMAIL PROTECTED] wrote:
Can someone tell me what i'm doing wrong here?
?php
//Connect to db
$db = mysql_pconnect(localhost,login,pass);
mysql_select_db(database,$db);
//Check for the IP
$result2 = mysql_query(SELECT ip FROM ip where ip =
I have done this before but my memory fails me.
I am trying to just loop threw ny array and display it.
one row per result.
How do you do that again?
//Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
A much better way of doing this would be use to mod_rewrite. an apache
module that basically applies regular expressions to urls
This would give you a way of avoiding passing variable but without resorting
to the work around of 404
- Original Message -
From: Sondra Russell [EMAIL
Hi friend,
I want to mail a user if he forget password .
How to implement that.
What are all the requirements.
please see the following code.
?php
$user_name=Balaji Ankem;
$user_mail=[EMAIL PROTECTED];
mail($user_mail,Thanks for visiting,Dear $user_name,\n We appreciate
your visit.);
Hi
I am trying to run a php script of the shell but am getting No Such File
or Directory error. I am executing it from cgi-bin but have tried from
httpdocs. chmod is 777. Path to php is /usr/local/lib/php.
Any idea why is this happening.
Part of my code:
I cant drop the query (?var=string) as the second script wont do what I want
it to do without it. The query in the second script is required for that
script to perform the function correctly.
Dave
- Original Message -
From: Ben Holt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
Edit the [mail function] section in php.ini:
[mail function]
; For Win32 only.
SMTP = localhost
; For Win32 only.
sendmail_from = [EMAIL PROTECTED]
; For Unix only. You may supply arguments as well (default: 'sendmail -t
-i').
;sendmail_path =
HTH,
Simon.
-Original Message-
From:
I include another script-file with include_once.
Now the output of my PHP-Vars ($PHP_SELF, $REQUEST_URI, $DOCUMENT_ROOT) is
empty. In my parent-scripts the output works fine, but in the include is
neither outputs the parent-data nor the include-data.
--
PHP General Mailing List
Hi,
I include another script-file with include_once. Now the output
of my PHP-Vars ($PHP_SELF, $REQUEST_URI,
$DOCUMENT_ROOT) is empty. In my parent-scripts the
output works fine, but in the include is neither outputs the
parent-data nor the include-data.
try echo $GLOBALS[PHP_SELF]. if
Yes, that would be simple... if you was thinking about not showing the
'Realm' variable.
I've never heard of any way of ridding yourself of the Site stuff..
if(!isset(PHPAUTH_USER)) {
header('WWW-Authenticate: Basic realm=');
header('HTTP/1.0 401 Unauthorized');
echo Some error
Kirk Johnson [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I'm about ready to go insane over this one. I have the following link.
http://www.wayneswoodworks.net/test/samples.php3?key=1
When I get into samples.php3 I do:
$record =
how you mean it/be more specific?
while (list(, $value) = each($array))
{
echo value = $value\n;
}
Johan Vikerskog [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]..
.
I have done this before but my memory fails me.
I am trying to just loop threw ny array and
Hi,
I include another script-file with include_once. Now the output
of my PHP-Vars ($PHP_SELF, $REQUEST_URI,
$DOCUMENT_ROOT) is empty. In my parent-scripts the
output works fine, but in the include it neither outputs the
parent-data nor the include-data.
try echo
On Wednesday 05 September 2001 21:22, Ouster wrote:
I'm making a sort of cache system. I fell to this problem: I leave a
cookie with the timestamp of the last access, and when the user
reconnect, I compare the timestamp of the last change with the
timestamp sent me with the cookie. Then I
Original message
From: _lallous [EMAIL PROTECTED]
Date: Thu, Sep 06, 2001 at 11:34:45AM +0200
Message-ID: [EMAIL PROTECTED]
Subject: Re: [PHP] For the RegExps gurus!
Ehh... no. How would you implement an if-statement then?
I thought I could have build a regexp that allow you to specify a
I agree with the point about the spec of machine... a lot of comparisons are
made using machine where the spec of the machine ends up being the
bottleneck.
Also, PHP is more tolerant then say JSP in the code you write, it is
possible to write some really bad php apps which work albeit very
The problem is that PHP has to generate the Last-Modified header, so it
can't send only the HTTP/1.0 304 not modified, that is what I want.
I think Last-Modified relies on the last modified date and time of the
file, but this is irrilevant in server-generated pages.
Thank you for your help.
And another option...
--- PHP code ---
PRE
?php
$mem = Hello world! http://www.helloworld.com\n
Hello world! ftp://ftp.server.com\n
Hello world www.helloworld.com;
/* -- ! First regexp ! -- */
// $mem = preg_replace (/\s+([http:|ftp:]{0,1}\S+\.\S+)/me, ' A
// href=\'.
//
On Thursday 06 September 2001 12:28, [EMAIL PROTECTED] wrote:
The problem is that PHP has to generate the Last-Modified header, so it
can't send only the HTTP/1.0 304 not modified, that is what I want.
You send the Last-Modified on the requests where you *do* send a page
back (i.e. those not
On Thu, 6 Sep 2001, Dennis Moore wrote:
I wrestled with this for about an hour before I looked at WHY the heck the
configure script thinks it knows more than I do. Apparently if it can
DECOMPRESS a GIF (i.e., Make a PNG *from* a gif, which the FreeBSD
installer and some packages like rpms are
Hi,
Could any one explain what this statemnt means?
$i = (!$i)?0:$i;
Thanks,
Jord
--
Jordan Elver
Web Developer
The InternetOne UK Ltd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
Hello Techies,
I have installed php-4.05 and php4.06 under linux7.1(Red
hat).Kernel( 2.4.2-2).
The installed lists are:
1.jdk1.2.2
2.jsdk2.0
3)mysql3.23.38
I got the following error while configuring php in both versions(4.05 and 4.06).The
configure options is
Jordan Elver wrote:
Hi,
Could any one explain what this statemnt means?
$i = (!$i)?0:$i;
http://www.php.net/manual/en/language.operators.comparison.php
RTFM :)
--
Pavel a.k.a. Papi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
ok i have this:
?php
include ../config.php;
$result = mysql_query(SELECT os from sdb_entries);
while($row=mysql_fetch_array($result))
{
$os = $row[os];
echo $os;
}
?
Now i want the echo to make a new line instead of putting everything into one large
chunk.
Help?!?
//Johan the senile
Thanks alot man!
They are all still using /e switch... ;)
* RZe: [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
And another option...
--- PHP code ---
PRE
?php
$mem = Hello world! http://www.helloworld.com\n
Hello world! ftp://ftp.server.com\n
Hello
Pavel Jartsev [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Jordan Elver wrote:
Hi,
Could any one explain what this statemnt means?
$i = (!$i)?0:$i;
Well, literally, if not-$i is equivalent to true then $i becomes string
0, otherwise $i 'becomes' $i.
The reason I don't want to use the /e switch is that i'll be able to port
that expression to perl or to javascript.
* RZe: [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
And another option...
--- PHP code ---
PRE
?php
$mem = Hello world!
echo $os\n;
\n does a newline in php, that u only will see in your sourcecode
or
echo $os\nbr\n;
will do a brake in the source, and one in online layout
better read php.net first, before posting suh stuff here.
Johan Vikerskog [EMAIL PROTECTED] schrieb im Newsbeitrag
[EMAIL
So echo a br as well.
echo $os. br; //this will do the trick
Cheers
Jon
-Original Message-
From: Johan Vikerskog (EMP) [mailto:[EMAIL PROTECTED]]
Sent: 06 September 2001 12:24
To: '_lallous'; [EMAIL PROTECTED]
Subject: RE: [PHP] Re: Question.
ok i have this:
?php
include
Original message
From: _lallous [EMAIL PROTECTED]
Date: Thu, Sep 06, 2001 at 02:28:03PM +0200
Message-ID: [EMAIL PROTECTED]
Subject: Re: [PHP] For the RegExps gurus!
Thanks alot man!
They are all still using /e switch... ;)
/Original message
Reply
Yep... still using /e switch. I'm not
MySql is case sensitive but you have to make sure that you defined your
field with BINARY attribute.
Augusto cesar castoldi [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi.
I'm need to compare username and password in
Case-Sensitive.
When I do the query
B. van Ouwerkerk wrote:
I can tell you that in general, companies in Europe appears to be more
open to open-source solutions much more than ones in the US. Of course,
Europe is comprised of lots of different countries, and each country has
lots of different companies, so your mileage may
Hmm? Are you trying to run it as a shell script? If so it doesn't matter
where you put it as long as it have the Execute flag turned on and correct
path to script handler.
did you try this: ./scriptname.php ?
Ajdin Brandic [EMAIL PROTECTED] wrote in message
?php
$user_name=Balaji Ankem;
$user_mail=[EMAIL PROTECTED];
$result = mysql_query(SELECT password FROM users WHERE name='$user_name'
);
$r= mysql_fetch_row($result);
$user_password = $r[0];
mail($user_mail,Thanks for visiting,Dear $user_name,\n We appreciate
your visit.\nYour password is:
I have 3 radio buttons, and I want the one selected by the user to show as
selected when the page reloads. The form uses POST and points to itself.
here's what I have:
if ($thumbs==faster)
{
echo input type=\radio\ checked value=\faster\ name=\thumbs\Faster
loading;
echo input
hi all,
i'm trying to use session variables. people can login using a loginform.
if they are already logged in I want the previous session to be destroyed before the
new session starts.
if it's their first login the session shoulds also start.
if I first login with name1/password1 I give url1
The server I am on uses a CGI script to get a count for home pages. With
server side includes it is executed using the Apache exec SSO directive
and works well.
The problem with PHP is that the CGI script when executed by Apache sets
a lot of environmental variables that apparently aren't set
First of all, we look a little bit on your code..
It should be something like this:
code
---
?php
if (true == session_is_registered(main_session_variable)
{
session_unregister('sessie_loginnaam');
session_unregister('sessie_status');
session_unregister('sessie_url');
On Thu, 6 Sep 2001 13:46:59 +0100, you wrote:
I have 3 radio buttons, and I want the one selected by the user to show as
selected when the page reloads. The form uses POST and points to itself.
How can I make this better? With a text field I can just do input
type=\text\ name=\foo\
Thank you thank you thank you. Sheer genius :-)
-Original Message-
From: David Otton [mailto:[EMAIL PROTECTED]]
Sent: 06 September 2001 22:18
To: Seb Frost
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Refreshing form with submittd data
On Thu, 6 Sep 2001 13:46:59 +0100, you wrote:
I have
Jordan Elver wrote:
Hi,
Could any one explain what this statemnt means?
$i = (!$i)?"0":$i;
if (!$i) then
$i = "0";
else
$i = $i;
-Stathis
Thanks,
Jord
--
Jordan Elver
Web Developer
The InternetOne UK Ltd
--
PHP General Mailing List (http://www.php.net/)
To
What I have been waiting for is an O'Reilly book on PHP and today I just
discovered that Rasmus supposedly edited it for them (titled, PHP
Programming), and was supposed to be published at the beginning of the
summer. However, both Amazon.com and BN.com say it still hasn't been
published.
Hi
Is it true that a script will not execute if it was uploaded/ftp-ed in a
Binary mode rather that ASCII?
Ajdin
On Thu, 6 Sep 2001, _lallous wrote:
Hmm? Are you trying to run it as a shell script? If so it doesn't matter
where you put it as long as it have the Execute flag turned on and
I've searcded PHPBuilder.com, zend.com, hotscripts.com, and php.net...
can't find anything
-Original Message-
From: _lallous [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 06, 2001 2:31 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Tracking shipments UPS, FEDEX, etc...
Hi all,
I need an update on my table. but I have a timestamp field called
t_stamp. When I update a field other than t_stamp field, t_stamp field
also updates to now(). I need it not to update and saves its value.
How should I do this?
Regards
Mesut Tunga...
--
PHP General Mailing List
Hi,
Can anyone tell me why header cannot been used after any network
operation?
In my script, there are following steps:
1).a socket is opened for smtp;
2).send email;
3).closed the socket;
4).use header() to redirect to another page.
If no 1), 2) and 3), 4) can be processed without any
On Thu, Sep 06, 2001 at 05:09:43PM +0300, Mesut Tunga wrote:
I need an update on my table. but I have a timestamp field called
t_stamp. When I update a field other than t_stamp field, t_stamp field
also updates to now(). I need it not to update and saves its value.
How should I do this?
Original message
From: Kristofer Thorssell [EMAIL PROTECTED]
Date: Thu, Sep 06, 2001 at 04:56:17PM +0200
Message-ID: [EMAIL PROTECTED]
Subject: [PHP] Session destruction
?
session_start();
if(session_destroy()) echo You are now logged out;
?
is there something wrong with this?
because
hello,
can anybody suggest me how to execute a php file thru a cron job?
i have a php script which checks for invalid links in my links database and mails the
result to the site admin if any 400 series errors are found.
thanks in advance.
regards
carry
Carry Ian
e-mail: [EMAIL
Hello Carry,
Thursday, September 06, 2001, 5:05:53 PM, you wrote:
CI hello,
CI can anybody suggest me how to execute a php file thru a cron job?
CI i have a php script which checks for invalid links in my links database and mails
the result to the site admin if any 400 series errors are
Got another solution. So far the first solution not using the /e
modifier. It's not realy the best solution, but I'm still trying to
improve it. Getting closer every time...
--- PHP code ---
PRE
?php
$mem = Hello world! http://www.helloworld.com\n
Hello world! ftp://ftp.server.com\n
Hello world
Ok, fine but what about something like this:
say you have a page with a dropdown to select cities and a second
dropdown to select places in the previously selected city. You change
the cities dropdown and normally you reload all the page to fill in the
places for the second dropdown. Say also
Hi all,
anybody knows a way to protect a directory on my webserver from browsing via
a webbrowser.
browsing is only permitted after users have logged in via a form on the
website (so, I'm not able to use htaccess).
thx.
Wilbert
-
Pas de Deux
Van Mierisstraat 25
2526
In the ASP page I've been developing for work (yeah, I know... icky ASP...)
I have an order form on the screen. The first field is a custmer
number. In the OnBlur even for that form field, the javascript on that
page instantiates a remote scripting object, which calls another ASP page
to
php script.php
will able to run the php script in command line
--
Hidulf
http://www.hidulf.com
Carry Ian [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
hello,
can anybody suggest me how to execute a php file thru a cron job?
i have a php script which checks for invalid links
Without .htaccess you have two options:
1. Does your host offer a control panel? Mine has one where I can add
password protection to any directory I wish - worth checking out.
2. require() a php file at the top of every page in that directory that does
this:
if (user is allowed here) {
Robert,
Your time and trouble in going through the issues are much appreciated, and
I'm starting to warm to the idea of FastTemplate. It seems DYNAMIC BLOCK is the answer
to the itty bitty little html file problem, but I'm still not entirely happy..
a) Nested Loops
I notice the warnings about
Hi !
As I wrote earlier, I am a begginer in php and I don't have much experience in
other programming languages. I have bought the PHP developer's cookbook
and , just as I was told, I have read on-line tutorials for beginners(I read as
many as I could find), but I still find this book rather
hmmm... for those of us really in the know...
spoofing doesn't let an invalid user get access to sensitive data on your
site.
if someone is spoofing a valid ip address, the return packets will travel to
the spoofed ip address, not to the 'real' ip address of the spoofer. so,
even though they
Hi, what's the simplest way to provide previous/next buttons that navigate
through individual records of a database? This is for a photo gallery, so I
want to do one record at a time until I'm out of records, then I want the
next button to disappear. I've been fiddling with it for a while now,
hi all,
PHP-4.03pl
LINUX 7.0
i am still having problems with sessions. the following does nothing but
should appear to do something! it is just a simple experiment to test that
sessions work. session_test.php calls session_proc.php to perform one of
three functions.
i would really appreciate
http://www.phpbuilder.com/columns/rod2221.php3
jack
-Original Message-
From: Michael O'Neal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 06, 2001 12:41 PM
To: Php-General@Lists. Php. Net
Subject: [PHP] Previous / Next Buttons
Hi, what's the simplest way to provide
A cheap and cheerful rule is to insist on at least one numeric.
Then you don't have to bother with a dictionary check!
The php to force only alphas and numerics (upper or lower case) and at least
one numeric is something like : -
if (!ereg(^[a-zA-Z0-9]*[0-9][a-zA-Z0-9]*$,$password))
{
On Thursday 06 September 2001 16:35, Nikola Veber wrote:
Can anyone who has this book suggest what chapters should
I read first or which topics on php are the most apropriate for a beginner.
You shouldn't use the cookbook in that way. Try like this: You are writing
whatever application it is
I expect I'll get flamed for being off topic but never mind.
I'm fine with creating simple tables and stuff - even nested a couple of
levels. But there's so many sites these days with super-complex table
layouts. How are these created? Is it just some super-talented table guru
who codes the
Hi, what's the simplest way to provide previous/next buttons that navigate
through individual records of a database? This is for a photo gallery, so I
want to do one record at a time until I'm out of records, then I want the
next button to disappear. I've been fiddling with it for a while
Okay... this time an even better solution, without the /e modifier.
Think this comes pretty close to some final solution.
--- PHP code ---
PRE
?php
$mem = Hello world! http://www.helloworld.com\n
Hello world! ftp://ftp.server.com\n
Hello world www.helloworld.com;
/* -- ! Fifth regexp !
I just use LIMIT its alot better, alot less CPU intensive.
if (!isset($pos))
$pos = 0
SELECT * FROM product LIMIT 0, $pos
$pos++
if ( !((SELECT count(*) FROM product) $pos) )
a href='$PHP_SELF?pos=$pos'Next/a
you get the idea.
Chris Lee
[EMAIL PROTECTED]
Jeff Oien [EMAIL
this allways buggers people up
session_register(count);
$count = array();
should be
$count = array();
session_register(count);
you have to set the var first before registering it. you should also check
if the var is allready registerd ($HTTP_SESSION_VARS[]) if so, dont
benchamrking is a common question with a common answer, try it yourself,
depending on your situation/hardware/software this will very greatly from
machine to machine.
--
Chris Lee
[EMAIL PROTECTED]
Niklas lampén [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL
George Whiffen,
a) Nested Loops
One problem that I see is that if I have nested loops:
!-- BEGIN DYNAMIC BLOCK: loop1 --
{LOOP1_VARIABLE}
!-- BEGIN DYNAMIC BLOCK: loop2 --
{LOOP2_VARIABLE}
!-- END DYNAMIC BLOCK: loop2 --
!-- END DYNAMIC BLOCK: loop1 --
I can assign
Hello!
We installed php 4.0.6 in a Roxen 2.1.625 web server on Solaris 7. Now we
have a problem with temporary session files. The session_start() command
will abort with the following error message:
Warning: open(/tmp/sess_e8771af1171a6cbdf51eebdba5199d25, O_RDWR) failed: m
(0) in
And here is version 5.2!
I optimized the search patterns. I found out that there was only a
very limited scope of URL's that was matched... So I pretty much
fixed that now (see the example).
Repeating elements from the patterns have been extracted and put in
an array, so that you can easily see
I use some rather complex table layouts.
I make them with modular programming.
Every function that produces a TABLE
also produces a /TABLE.
And such a function maybe calls another
function that also puts a table inside
the HTML.
And so on ...
That way I can keep track on what's happening!
When I first browse to a site on my LAN, I get links with URLs that look
like this:
chat/?PHPSESSID=f3d149f79f5196bd709fb3c256dbb3d8
after a refresh, the whoe PHPSESSID goes away.
Wondered if there was some setting in php.ini that I've overlooked?
I'm running PHP4 with Apache on an Unstable
I have a lot of scripts written in perl here and have been using PHP a lot now. I am
wondering if PHPs regexps are powerful or not. I will show a small section of this
code below that I clean up witht he perl scripts. It cleans it almost right up but
take a look :) And YES there is
Doesn't PHP exec sendmail when mail() is called anyway? (Unless you run
another MTA, of course)
I would think they'd take the same amount of time, unless there is
overhead with using popen()
--Matt
-Original Message-
From: Chris Lee [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
On Wed, 5 Sep 2001 12:15:34 +0200 impersonator of [EMAIL PROTECTED] (*
RZe:) planted I saw in php.general:
This should do the job:
...
You can keep improving:) or you can use piece of my working (except for
$Harlem, to which i am not going:) code (I give it for free this time:)
No /me, no
Hi people:
I trying to run a script from my shell but I get this error:
[root@corotu docs]# ./phorummail
php: error in loading shared libraries: libmysqlclient.so.6: cannot open
shared
object file: No such file or directory
Well, some people said to me that usually this library is located in
hi,
just go thru ur code once u'll getout with the bug.
$myrowmysql_fetch_Array($result2);
what is $myrow and to which value should the left part should
compare.
try this :
?php
file://Connect to db
$db = mysql_pconnect(localhost,login,pass);
mysql_select_db(database,$db);
file://Check
Is there any way to print the current line number? i.e.
43 print blah;
44 print this is line $LineNumber;
45 print etc;
and have it result in :
blahthis is line 44etc
?
- Jonathan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
No kidding :-)
or calculating shipping costs.
-Original Message-
From: Joe Sheble (Wizaerd) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 05, 2001 11:47 PM
To: General PHP List
Subject: [PHP] Tracking shipments UPS, FEDEX, etc...
has anybody written any routines or
Hi !
I have used the PDFLib to generate a pdf by myself. I would like to
know how to make a page break and then draw second page which the
content is exactly the first page.
I need to repeat this step 9 times so I can use printer function to
print 9-in-1 page.
Thank you very much !!
I have used the PDFLib to generate a pdf by myself. I would like to
know how to make a page break and then draw second page which the
content is exactly the first page.
I need to repeat this step 9 times so I can use printer function to
print 9-in-1 page.
Why not just put a loop around
Ok, I will try to explain myself as clearly as possible
please let me know if I need to be more so.
On my admin page I have a review form. there is a select
box that is self populating from a readir. that part works
fine. however I would like for the files to not show up if
they have been used
Doesn't UPS provide tools to do this? Not necessarily
using PHP but I thought
-Original Message-
From: Dan Harrington [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 06, 2001 3:45 PM
To: Joe Sheble (Wizaerd); General PHP List
Subject: RE: [PHP] Tracking shipments UPS,
has anybody written any routines or functions they'd care to share for
parsing the tracking information out of UPS, FEDEX, or other shipping
carriers tracking pages?
/*
Begin FEDX GROUND
*/
$fp = fopen
1 - 100 of 169 matches
Mail list logo