On Thu, 25 Jul 2002 05:47:57 +0200, you wrote:
Bonus points if you could tell me a way to parse the entire headers
into something useful like a set of key, value pairs using the header
name as key and the value as value.
$lines = split(\r?\n,$headerstring);
foreach($lines as $line) {
On Thu, 18 Jul 2002 08:40:08 -0600, you wrote:
See below...
At 09:20 PM 7/17/02 -0500, Michael Sims wrote:
$superglobals = array(var1, var2, var3, var4, var5, ...);
Now inside the function you can do this:
function somefunction ($somevar) {
global $superglobals;
foreach($superglobals
On Thu, 18 Jul 2002 03:21:48 +0200, you wrote:
Then again, I might not be remembering correctly, so ...
Well it could have been it, but it doesn't work neither trying to set
the ErrorDocument into a .htaccess file.
The problem is I am not even sure where is the trouble, and if it should
work
On Wed, 17 Jul 2002 17:46:25 -0400, you wrote:
Chris, thanks for describing your method. The reason I really dislike
Functions in PHP is because you have to pass every variable needed by a
function, even if that variable is global in the main script, which is a
pain in the ass when a function
On Wed, 17 Jul 2002 16:25:10 -0600, you wrote:
Check the archives on this...
But you need the executable php
Also in the archives are discussions on how to do this using lynx,
which does not require an executable PHP, but does require that the
script reside somewhere in the document root of
On Wed, 17 Jul 2002 22:39:10 -0400, you wrote:
Hello, I have captured variables from any HTML that is POSTed to me from a
'foreach' clause. Now, possibly in this foreach clause I want to register
these name/value pairs into a session var. I have tried :
session_start();
foreach ($HTTP_POST_VARS
On Thu, 12 Jul 2001 14:32:57 -0600, you wrote:
I've looked on php.net, phpbuilder.com, and zend.com, but to no avail.
Any suggestions?
I don't know of any articles, but I'm actually working on a project
that is exactly what you are talking about. I'm going to code the
signup interface in PHP,
On Wed, 10 Jul 2002 13:14:44 +0100, you wrote:
I've got an application that requires dos folder names (8.3 standard) as
input.
I also have PHP, which quite happily can cope with both.
Can someone help me write a function to translate full paths to dos paths
Thanks
Maybe this can get you
On Wed, 10 Jul 2002 13:14:44 +0100, you wrote:
I've got an application that requires dos folder names (8.3 standard) as
input.
I also have PHP, which quite happily can cope with both.
Can someone help me write a function to translate full paths to dos paths
Also, go to groups.google.com and
Danny.
Yeah, I mentioned that in my original post (see below). I left that
particular issue as an exercise for the reader. :-)
- Original Message -
From: Michael Sims [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 10, 2002 1:48 PM
Subject: Re: [PHP] Dos Paths
[...]
One last
On Thu, 4 Jul 2002 20:43:25 +0100, you wrote:
Not really a PHP question - more an FTP protocol question - try reading the
FTP RFC at http://www.ietf.org/rfc/rfc959.txt
However, in a nutshell, to get all of the files in a directory -
1. get a listing of that directory (read the RFC for
On Sat, 1 Jun 2002 16:56:04 +0100, you wrote:
Hi,
I've never used a reg exp, but I was trying to do something simple, and I just can't
seem to do it :)
I have a varible $fdata which contains the contents of a webpage, and I want to strip
out the base tag.
I try:
$fdata =
On Fri, 31 May 2002 12:32:29 +0100, you wrote:
example of the contents of $file that might pass is:
advance_racingx_14_4_29.pdf
another might be, which would not pass is:
advance_fork10_3_4_11.pdf
If you need it to be in that specific order, use the following:
On Thu, 23 May 2002 09:26:05 -0700 (PDT), you wrote:
Does anybody have a clever and efficient way of
getting rid of leading zeroes in a string?
How about:
$str = preg_replace(/^0+/,,$str);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, 12 May 2002 18:43:47 -0700, you wrote:
I have an SQL Server database running on a server on the internet. I
need to have php connecting to the db and returning values. Simple
stuff. No problem making the connection and getting data using the mssql
functions. The weird thing is that 4
On Wed, 2002-04-03 at 04:00, Michael Zornek wrote:
I've been learning a little bit about CVS and am considering using it
for dev of some group PHP sites.
Anyone doing this? comments?
I've been using CVS for all of my PHP projects for the past several
months. Now that I have been using it I
At 03:58 AM 3/19/2002 +, mm fernandez wrote:
variables begin with a $ sign. but what does it mean if it begins with 2 $
signs? (i.e. $$var)
http://www.php.net/manual/en/language.variables.variable.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
At 02:31 PM 3/17/2002 +0100, andy wrote:
Hi there,
I am wondering if it would be possible to replace all chars which are not
inbetween [a-z] with a valid asccii coresponding to it. I have a db with a
bunch of citynames and I would like to create valid filenames out of those.
The prob is, that I
At 09:36 AM 3/15/2002 +, Philip Jeffs wrote:
Hi,
Does anyone know of an 'easy' way to delete folders that contain files and
sub-folders?
Here's what I use (use rmdirRf($folderthatcontainsotherstuff)):
?
function rmdirRf($file) {
if(file_exists($file)) {
chmod($file,0777);
if
At 03:59 PM 3/15/2002 -0600, charlesk wrote:
I have many sites and all are virtual hosts. I would like IIS to specify
the home directory, for html, gifs, jpgs... and all of the php files to be
somewhere else in the filesystem, specified by the php.ini.
There is a thread archived on Google
At 05:52 PM 3/14/2002 +0200, Ando Saabas wrote:
Ok let me explain my problem further some. I need the regular expression to
purify the html page from script tags:
I used: $file = eregi_replace((script(.*).*/script), , $file);
Now this works fine, until theres a webpage like:
script
Some of you may have heard news about the double free bug in the zlib
libraries that many Linux programs use:
http://www.kb.cert.org/vuls/id/368819
http://www.redhat.com/support/errata/RHSA-2002-026.html
There is a quote on the Redhat errata page that got me thinking:
Additionally, if you
At 05:58 PM 3/11/2002 -0500, Erik Price wrote:
Ho! I have just RTFG'd, which I wish I had done before posting. Looks
like I have omitted the --with-zlib parameter in the ./configure of
PHP. I had it last time b/c I was following a tutorial, and omitted it
this time since I didn't think I
...
-
Michael Sims
mhsims at midsouth dot rr dot com
The Web site you seek
Can not be located but
Countless more exist.
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
At 12:07 AM 3/9/2002 +0800, Jason Wong wrote:
I'd love to be able to send any errors from PHP to a completely separate
file, say something like /var/log/php_errors. Does anyone know of a way to
do this? I gather it has to do with using /etc/syslog.conf to redirect
messages from a
At 05:06 PM 2/20/2002 -0800, James Taylor wrote:
$x = 7;
$y = 3;
$z = $x / $y;
I want $z to equal 2. In perl it would be
$z = int($x / $y);
This is untested, but:
$z = (int) ($x / $y);
Should work.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
At 06:17 PM 2/18/2002 -0800, Phillip S. Baker wrote:
I have a MyQSL back end.
It houses a users user_name and password.
I have a secure area of the site that I only want members to view.
The way I have it now is that the user logs in.
If user_name and password match cookies are set.
Each page
At 08:15 PM 2/19/2002 -0500, Leif K-Brooks wrote:
I'm looking for a function that turns special charcters into html charcter
codes ( into quot;). Is there one?
http://www.php.net/manual/en/function.htmlspecialchars.php
and
http://www.php.net/manual/en/function.htmlentities.php
--
PHP
At 05:54 PM 2/16/2002 +0800, Jason Wong wrote:
On Saturday 16 February 2002 17:48, Dean Householder wrote:
Is anyone familiar with how exactly to use the TOP command in MSSQL? Is it
in it's own SQL query or built into the select query? I'm looking at the
help and it doesn't seem very
At 06:41 AM 2/16/2002 -0800, [EMAIL PROTECTED] wrote:
Is currently anyway of doing scheduled tasks with PHP (without using
crontab)?
What's wrong with using cron?
I'm building an OSS site where the PostgreSQL data base maintenance,
email sending, stats gathering, number crunching and graph
At 12:26 AM 2/17/2002 +0100, Frank Joerdens wrote:
I am looking for a good manual or introduction on how to write readable,
extensible code (in any programming language). To give you an example,
this bit looks pretty darn horrible and I just don't know how to
rephrase it to make it more concise
At 11:22 PM 2/16/2002 -0800, Anas Mughal wrote:
I get a parse error using my CGI version of PHP on the
following line:
$message = $$this-func_name($string);
However, the same above line works fine with my ISP's
CGI version of PHP.
That is strange. Just for kicks, try using curly braces to
At 02:21 PM 2/15/2002 -0500, Michael Kimsal wrote:
I've been here all along! :)
Seriously, we cover some of this in our class as well, and at our monthly
PHP user group meetings. I'm actually writing up a small paper
on this and other topics. If you're interested in it, let me know.
I can
At 10:03 AM 2/15/2002 -1000, Rodney Davis wrote:
Is currently anyway of doing scheduled tasks with PHP (without using
crontab)? For example, using an email script to send out e-mail
reminders every Monday or something like that?
What's wrong with using cron?
--
PHP General Mailing List
At 02:33 PM 2/15/2002 +0100, marcbey wrote:
i dont know how i have to send it back, because i dont kown where and how to
put the
ASPSESSIONIDKJHKJHHKJH=HJVHJGHJGJGHJGJHGKJ information (in the header?)
This document may help:
At 09:26 AM 2/12/2002 +0200, val petruchek wrote:
My current project runs on Win2k, MsSQL 2k, and PHP 4.0.6
My problem is that i can not enable md5 extension because of
Unable to load dynamic library 'c:\windows\php\extensions/php_mcrypt.dll' -
The specified procedure could not be found. in
At 04:58 PM 2/12/2002 -0600, phantom wrote:
How do I get the ASCII value of a character increment it by one...
and convert back to a character.
For example:
I want to grab a char such as C and increment it to D ???
To answer your first question:
?
$letter = C;
echo $letter.br; //Outputs
At 06:27 PM 2/12/2002 -0500, J Smith wrote:
Last week I looked at some VBScript/ASP code that I kind of need to port to
PHP. I was mortified.
It is truly appalling, isn't it? ;) I have actually converted a large
portion of my companies website from VBScript to PHPthankfully most of
the
At 12:34 PM 2/11/2002 -0600, news.php.net wrote:
My post values have backslashes added to them (such as to protect a
double-quote).
All the magic_quote_* settings are turned off in php.ini.
Any ideas why this is happening?
As someone else has already mentioned, this setting could be coming from
At 06:34 PM 2/11/2002 +0200, val petruchek wrote:
Hello, list!
I'm looking for analog of Mysql password() func in MsSQL. My goal is not to
store certain field (i.e. user passwords) as a clear text.
I don't know the equivalent off the top of my head, but a coworker of mine
has used it before.
At 09:41 AM 2/11/2002 -0600, cyberskydive wrote:
$user = getenv('REMOTE_ADDR');
[...]
It works great on windows running apache php 4.0.1
but on solaris php 4.06 if I add a
print($first);
it returns the servers IP address, but everywhere else it returns the users
IP address.
On the Solaris
At 04:46 PM 2/11/2002 -0600, Peter J. Schoenster wrote:
How can I do this with PHP?
I want the urls to be like:
http:://www.mydomain.com/page.html
http:://www.mydomain.com/page2.html
http:://www.mydomain.com/page3.html
etc. One motive is to be sure that no search engines are
discouraged from
At 04:36 PM 2/9/2002 -0800, Charlie Killian wrote:
But others like not including a semicolon returns nothing:
$d = 3
The page is not returned there is no error and the page is stopped being
parsed.
This is by design. Quoting from http://bugs.php.net/bug.php?id=9386:
quote
[17 Jun 2001 4:56am]
At 03:06 PM 2/6/2002 -0500, Erik Price wrote:
Pretty confusing. Can anyone shed some light on whether or not there is a
final definite way to do this? I've used (!($_POST['var'])) with no
problems in the past, but does good coding style suggest that I use
(!isset($_POST['var'])) now?
The
At 11:42 PM 2/2/2002 -0200, Manuel Lemos wrote:
I think you are confused... Unsolicited e-mail is in fact the
definition of spam!
No, with time, people started confusing definitions. You may not be
aware of it because you were too young and by that time you probably
even did not knew about
At 03:04 PM 1/31/2002 +1300, Philip J. Newman wrote:
Is there anyway using PHP to send a command to a server to get the get
eather a 404 or 200 reply?
Here's a function I put together to do just that. It takes a full URL as
an argument and returns either boolean true, boolean false, or a
At 01:22 AM 1/30/2002 +0530, Kunal Jhunjhunwala wrote:
Hey Mike,
I am looking for PHP sockets.. hence the php mailing list :P I hvent found
any decent resource on it.. orielly article is good for complete beginers..
but i was looking for something more detailed... any books anyone can
recommend
At 01:02 PM 1/27/2002 -0500, Andre Amaral wrote:
Thank you for the wuick response.
Now. Can I make a script that works in both Linux and Windows without much
headache?
I'm currently working with a few developers to redesign my company's
website using PHP. I am developing on a Linux platform
At 12:11 PM 1/27/2002 -0700, David Jackson wrote:
I've seen similar question in the archive, but here it goes?
Setup: Slackware-8.0, Apache-1.3.23, mysql-3.23.47-pc-linux-gnu-i686
[...]
Config options:
Syntax error on line 236 of /usr/local/www/conf/httpd.conf:
Cannot load
At 12:50 PM 1/27/2002 -0700, David Jackson wrote:
Mike --
Thanks for you reply, I made the changes an am stilling getting the same
error?
On the other hand if I compile PHP with out specifing mysql home. I
don't get the error.
Check and see which directory libmysqlclient.so is in, and make sure
At 10:33 AM 1/24/2002 +0100, Frank Benady wrote:
It works really nice, Michael, thanks again.
I have one more question, maybe you can answer me :
If the domain name has been redirected with hte permanent redirect, I
get the 301 Moved Permanently header response. But if the domain name
has been
At 01:45 AM 1/24/2002 +0100, Frank Benady wrote:
Hi All
Can I emulate the first request of a browser when it tries to connect to a
distant server using a domain name and parse the answer from the remote
server to know if there is a website located there or if there is no hosting
(or even some
At 11:12 AM 1/22/2002 +1100, Justin French wrote:
Hi all,
I've got into the habbit of pulling data out of a table something like this:
[...]
$id = $sql_myrow[id];
$date = $sql_myrow[date];
[...]
Now, I reckon there must be a way of automating the task of making the
$title var out of
Just curious, but why are you having to stripslashes() on the data coming
out of the database? Do you have magic_quotes_runtime enabled on your
server?
I honestly don't know... all I know is that I'm adding slashes on the
way into the database, and stripping them on the way out, because
At 05:13 PM 1/19/2002 +, David wrote:
If i\'m not wrong, you did not specify the php extensions dir in php.ini
correctly,
[...]
pls tell me if it works, i\'ve got some oracle questions to ask u if u
don\'t mind ;)
LOL! Somebody needs to turn off magic_quotes_gpc on their PHP web-based
At 10:43 AM 1/18/2002 -0600, Gonzalez, Zara E wrote:
Now I am using MSSQL via freetds and since the commands for MSSQL and
Sybase are
basically identical as far as php is concerned, I am assuming that I have
to use
the sybase method to escape quotes. However, I can't seem to figure out
how to
At 05:19 PM 1/18/2002 -0600, Henrik Hudson wrote:
When I do this:
php_flag display_errors yes
inside that same VirtualHost block the errors are not displayed to the
screen, but still logged to the main log file. Any thoughts if I can modify
it so that VirtualHost logs to the screen?
First of
At 01:05 PM 1/18/2002 -0500, Erik Price wrote:
I was hoping someone could share with me their code for situations like
this, since I'm pretty sure it's a common situation: I need to insert a
record into a table files, and simultaneously insert a record into a
table files_users. files_users
At 10:58 AM 1/16/2002 -0800, Police Trainee wrote:
in a nutshell:
if (150.200.250.x is within
$REMOTE_ADDR){dowhatever}
There are a couple of different ways to accomplish this. One is:
if (strpos($REMOTE_ADDR,150.200.250.) !== false) {
//do whatever
}
You have to be careful with
This may be more of an Apache question, but I was hoping that someone here
would have an idea about this.
I tracked down a bug in one of my scripts that was caused by environment
variable that was being registered as global without my knowledge (due to
the register_globals setting). My
At 09:32 PM 1/15/2002 -0600, Michael Sims wrote:
On both the Redhat 7.1 servers, phpinfo() reports the following
environment variables:
user: michaels
logname: michaels
[...]
I'm confused as to why these variables exist. I know for a fact that
Apache is running as nobody. That's what
At 07:20 AM 1/7/2002 -0600, phantom wrote:
Hey all,
I am using the Zhang session method from
http://www.phpbuilder.com/columns/ying2602.php3 and it works great
with a mysql database.
Does anyone out there know how to tell if a session is expired using
this method?
Yep. The expiry field
At 10:16 PM 1/5/2002 -0500, Gerard Samuel wrote:
Need some help with this one. Dont know where to begin. I have content
in a string and a constant that changes depending on if yourre in the root
or in a directory.
The purpose of the constant is to provide dynamic links.
The string will have
At 10:22 PM 1/5/2002 -0600, Michael Sims wrote:
function insertpath($string) {
return preg_replace(/(a
href=\)(.*\.*\/a)/i,$1._CONSTANT.$2,$string);
}
?
Forgot to mention that the i at the end of the regex means to make the
match case-insensitive...
--
PHP General Mailing List
I've got an array $Erros[] and I would like to be able to clear it
entirely. Is there any builtin function that acomplishes that?
Why not:
unset($Errors);
??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
At 05:07 PM 12/31/2001 +0200, you wrote:
It seems to work. I'll use this thread to ask an admin question: why
doesn't the mailing list daemon add a reply-to address similar to the
one I manually added here? Wouldn't it be more comfortable for all
parties concerned?
I agree. It's a pain to have
At 11:45 PM 12/31/2001 +0100, B. van Ouwerkerk wrote:
u.. I can give you one good reason.. Out Of the Office replies
don't get to the list.. M$ Lookout is specilized in bombing lists with
those stupid messages. Seems a complete list with reasons why you
shouldn't set reply to to the
At 10:10 PM 12/31/2001 +, LaserJetter wrote:
Also, apart from my coding being rubbish and causing lots of errors, does
anyone know of any reason why an error log file would grow to such a huge
size?
Why don't you actually look at the error log and see what it contains?
--
PHP General
At 11:59 AM 12/26/2001 -0200, Julio Nobrega Trabalhando wrote:
Is that while porting a script to PHP 4.1.0, where I used to check:
if (session_is_registered('del_power') $del_power == 1) {
// del stuff
}
Because $del_power could be registered as 1 or 0, now I can do:
if
At 08:54 PM 12/26/2001 -0500, David Jackson wrote:
I'm trying use the script( and html page) to below to set session
variables, but
keep getting the follow errors:
[...]
Browser Error Messages -
Warning: Cannot send session cookie - headers already sent by
At 12:16 PM 12/23/2001 -0800, Ben Ocean wrote:
Hi;
I get this error when I try to restart Apache:
Syntax error on line 236 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/libexec/libphp4.so into server:
/etc/httpd/libexec/libphp4.so
The above file does, of course, exist. I'm running RH71
At 01:11 PM 12/23/2001 -0700, Robert Dyke wrote:
Hello:
In ASP I can write a Conditional statement like this:
% If $varA == True Then %
Straight HTML in here that only displays if $varA == True
% Else %
Straight HTML in here that only displays if $varA != True
% End if %
Translating this to
At 01:17 PM 12/22/2001 +0100, Michael Jurgens wrote:
I'm now looking for a way to have the second (optional) argument be an array
of strings. I can't get it to work though...
In pseudo-code:
function makeyogurt ($flavour, $type = 'EMPTY ARRAY')
{ }
Does this work?
function makeyogurt
At 11:32 PM 12/22/2001 +0100, mweb wrote:
Hello,
I know I can convert a string to all uppercases with the strtoupper()
function. However, what if the original string contains HTML entities?
EXAMPLE:
original string = funkstouml;rung
Try this:
?
function htmltoupper($str) {
$trans =
At 01:59 AM 12/21/2001 -0500, jtjohnston wrote:
Michael,
$fp = fopen (./users.txt, r);
while (!feof ($fp)) {
$buffer = fgets($fp, 4096);
echo $buffer;
}
fclose($fp);
Ok. But $buffer is not an array, is it? Why/what is 4096? What is !feof ?
Don't you have access to the WWW? You need to
At 01:53 AM 12/21/2001 +1100, Tomasz Jachimczak wrote:
I am retreiving user information from a database after verification, and
would like to place certain feilds into a session variable for easy
access/retreival. I can get the information out of the database, but cannot
place it into any sort of
At 10:19 AM 12/20/2001 -0800, Nathan Cassano wrote:
And the answer is... WinCVS
Check it our at.
http://www.cvsgui.org/
And don't forget TortoiseCVS.
http://www.cvsgui.org/TortoiseCVS/index.shtml
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
At 03:39 AM 12/21/2001 +0200, Bogdan Stancescu wrote:
Hi everybody!
Two things I consider urban myths about PHP (plus MySQL) - please let me
know what you think of these:
1. The evil global variables
[...]
My question to you guys is this: does anybody know of a real example of
reasonably
At 06:03 PM 12/20/2001 -0800, Philip Hallstrom wrote:
I've done something similar in the past just for kicks, and I got the same
result you did (i.e. an error). I believe this is because mysql_query()
expects ONE query at a time and will break if you send two or more. I
could be
At 04:26 AM 12/21/2001 +0200, Bogdan Stancescu wrote:
Philip Hallstrom wrote:
A definite possibility, but it does depend on the hacker in question
knowing exactly how your script is written...
True, but in a shared hosting environment this is very likely.
...not to mention open source
At 04:51 AM 12/21/2001 +0200, Bogdan Stancescu wrote:
True, but in a shared hosting environment this is very likely.
...not to mention open source code.
Oh yeah. Guess I had a mental lapse there. If you are using, say, a
script downloaded from freshmeat.net and it happens to be
At 11:28 PM 12/20/2001 -0500, Billy Harvey wrote:
Freshmeat.net is a very popular database of linux software and includes a
wide variety of PHP scripts. My point was that if you downloaded an
insecure script from such a popular site then you are asking for trouble
because chances are
At 12:13 AM 12/21/2001 -0500, jtjohnston wrote:
This seems newbie. So what am I doing wrong? I want to print the
contents of the file. I get resource id #1 instead. Do I need to add a
header or what?
?php
//$fp = fopen (C:/Program Files/localhost/info.txt, r);
//$fp = fopen
to pass them as an URL parameter...
http://www.php.net/manual/en/function.header.php
-
Michael Sims
mhsims at midsouth dot rr dot com
The Web site you seek
Can not be located but
Countless more exist
At 05:53 PM 12/14/2001 +1100, Vincent Ma wrote:
Hi everyone:
I would like to know how to specific item in array. For the add new item
to array, we know just :
$array += array($key = $value);
How to remove specific item in array???
unset(array[specific_item_index]);
...has always
At 09:14 AM 12/16/2001 -0500, Yoel Benitez Fonseca wrote:
Hi!
The following code fragment tries to read a sequence of digits from
a file but it doesn't work, only the first character is read,
Which is my error?.
$str = ;
while( ($c = fgetc($this-m_file)) ereg([0-9],
At 07:56 PM 12/15/2001 +, [EMAIL PROTECTED] wrote:
been using php for a few months now, just wanted to say a big THANK YOU
to all the developers for such a wonderful language, thanks guys!
Well, I have to second that. If it weren't for PHP I probably would have
never gotten into web
At 01:37 PM 12/14/2001 +0100, Tony Arnold wrote:
start('10');
html-code... I want this to be repeated 10 times.
end();
This doesn't work but this is how I want it! :-) Anyone?
How about using alternate syntax? For example:
? for ($i=0; $i 10; $i++): ?
html-code
? endfor; ?
At 03:41 PM 12/5/2001 -0500, Jordan wrote:
Is there any way to pass a multi-dimenstional through a url. something like
/cart.exe?item[1][1]=3
just curious.
-Jordan
I haven't personally done this myself, but theoretically you could
accomplish this by first using the serialize function:
At 09:22 AM 11/25/2001 -0400, Miles Thompson wrote:
I've followed this with interest, but unless you specifically need some
properties of PHP to do this, use an easier tool.
Python has modules for both MySQL and PHP. They are easily invoked and
don't involve calling Lynx feeding it the
At 10:04 PM 11/24/2001 -0500, [EMAIL PROTECTED] wrote:
[snip]
Sort of like cron doing what you would do if you visited
page.php and once it's hit, it emails specified users in a database
Would I need path to php in the cron script to do this?
Or am I just living a dream?
It sure can. There's a
At 03:54 PM 11/21/2001 +, Caspar Kennerdale wrote:
I have a script that when I execute via a browser retrieves information.
Ultimately I want this automated. There has been mention on these lists
about compliling php as cgi, which I think may help
I saw the following somewhere and saved
script send the message to one address, the mailing list, and
have your MTA (Sendmail, for example) have the responsibility of forwarding
the message to all it's intended recipients...
-
Michael Sims
mhsims at midsouth dot rr dot com
201 - 293 of 293 matches
Mail list logo