- Original Message -
From: WebDev <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 1:24 AM
Subject: Re: [PHP] replace question
Hello
How could I know recognize a URL in $a
$a contains often a URL htp://www.mysite.com but as well more text
how is it possible
I´m beginning in this list but already see that she´s better that any other.
Thanks for all! My doubt is clarified.
André Cupini
Programador
[EMAIL PROTECTED]
NeoBiz - fábrica de internet
http://www.neobiz.com.br
- Original Message -
From: Ray Hunter
To: [EMAIL PROTECTED]
Sent:
Hi,
I am sorry if the level of this question is too simple but I can't figure
out what's wrong. I want to pass a variable value through the URL using the
Get method.
FOr example http://.../test.php?$test=0
and my test.php code are as follow:
BUt my outcome is
hello
so therefore
I want to be able to resize an image to 331x248 when I upload it and also
create a thumbnail. All of these pics are coming from a digital camera set
on 800x600 so the dimension above should be fine and i would like the
thumbnail to be 77x58. I know the code to upload the image, but I am not
s
Hi guys,
I'm looking for a PHP/MySQL based http site indexer - I won't want to do
filesystem searches, I want to do something like a standard web search
engine (like google) performs for my site.
I was hoping to make use of an existing search engine (open source) rather
than write a custom search
You form tag should be passing the get request to the php script.
example:
...
In test.php all should work now...
--
Ray
On Wed, 2003-03-12 at 11:04, Poon, Kelvin (Infomart) wrote:
> Hi,
>
> I am sorry if the level of this question is too simple but I can't figure
> out what's wrong. I w
I have found this to the best tutorial I have seen yet on sessions...its
very straight forward, and took care of a lot of questions that I had.
http://www.sitepoint.com/article/319/95
--
Tom Woody
Systems Administrator
Don't throw your computer out the window,
throw the Windows out of your co
Hello,
I don't understand this code empty my HTTP_POST_VARS variable:
if ((get_magic_quotes_gpc() == 1)) {
switch ($REQUEST_METHOD) {
case "POST":
while (list ($key, $val) = each ($HTTP_POST_VARS)) {
$$key = stripslashes($val);
}
break;
case "GET":
while (list ($key, $v
Hi all,
I am working on a store app. On the admin side I want to allow the admin to
upload a pic, adjust the size, and create a thumbnail.
Does anyone know of any open source image handling routines I can take
advantage of for this? The file format will be jpg or even gif. Thanks in
advance.
John
Kevin,
first, change your URL statement to: http://.../test.php?test=1 // the $
is not needed.
second, use $test=$_GET['test'] to get the transferred value into $test.
then, echo $test and see if it works.
Hugh
- Original Message -
From: "Poon, Kelvin (Infomart)" <[EMAIL PROTECTED]>
To:
I've invested quite heavily in php books, the 2 most useful by a long way
are:
1) Programming PHP, O'Reilly, Rasmus Lerdorf & Kevin Tatroe - a truly superb
book; its concise, well written and just seems to hit the mark. A must for
any aspiring php programmer!
2) PHP Functions, Essential Reference,
Hi, i'd like to know how PHP determines what session_id to hand out to
users.
Is it based on some real value like the browser and the ip address? an
incremental number? I want to make sure that it doesnt provide two same
session id for the different users at the same time.
thanks
MAthieu Dumouli
Hello:
What I am trying to do is to create a email verification routine with PHP.
When people register on the site they will get an email sent to them with a
link such as http://mysite.com/activation.php?ID=ghjghjg367ghjlkj9hjlkjhn0
That way when they click on the link it will verify the code aga
On Thursday 13 March 2003 02:49, Mike Walth wrote:
You have started a new thread by taking an existing posting and replying to
it while you changed the subject.
That is bad, because it breaks threading. Whenever you reply to a message,
your mail client generates a "References:" header that tells
Hi All,
I need to sort some data from a MySQL table. I have data saved like this:
++-++--+
| id | unixtime| porta_snmp | porta_switch |
++-++--+
| 1 | 2003-01-07 12:23:24 | 1614 | 1
a copy of the code you are using might help for suggestions,
and you say each line has upto 5 seprate querys on your db, are you using
seprate tables to hold that data?
> -Original Message-
> From: Simon Lusted [mailto:[EMAIL PROTECTED]
> Sent: 12 March 2003 14:57
> To: [EMAIL PROTECTED]
Try
...test.php?test=0 //no $ before test=
/Jan
"Kelvin Poon" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
.ca...
> Hi,
>
> I am sorry if the level of this question is too simple but I can't figure
> out what's wrong. I want to pass a variable value through the URL using
the
>
Yeah it worked...
thanks everyone!
-Original Message-
From: Jan Grafström [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 2:02 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: really simple problem with GET
Try
...test.php?test=0 //no $ before test=
/Jan
"Kelvin Poon" <[EMAIL PRO
Nothing really. I did happen across a couple of tutorials from
phpbuilder.com
http://www.phpbuilder.com/columns/michael20020712.php3?print_mode=1
and
http://www.phpbuilder.com/columns/bealers2904.php3?page=3&print_mode=1
may be able to piece something together from these two articles. l
it's not possible (at the moment) to manipulate existing pdf-files with
fpdf.
Rives Sergio Sofrecom wrote:
maybe the link didn't work... www.fpdf.org
sorry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Vincent M. wrote:
Hello,
I don't understand this code empty my HTTP_POST_VARS variable:
if ((get_magic_quotes_gpc() == 1)) {
switch ($REQUEST_METHOD) {
case "POST":
while (list ($key, $val) = each ($HTTP_POST_VARS)) {
$$key = stripslashes($val);
}
break;
case "GET":
whi
try the following ...
http://www.faqts.com/knowledge_base/index.phtml/fid/62
Luis A wrote:
hi every one :)
how can i uploads files to my server by php script ?
any hand on that i realy apreciate
Thanks
__
Luis Atala
Profetional
Mike,
This is can be simple or complex depending on how complex you get.
Here is an example that should work.
function getRandString()
{
$NumOfElements = 5; // Chooses that number of elements from the
Element Array
$ElementArray =
array(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z);
The method I use is to take their user_id or email and create an HMAC
(hashed message authentication code) by hashing it with a secret key on
my end. This way the activation link looks like the following:
http://mysite.com/activation.php?user_id=petej&ID=ghjghjg367ghjlkj9hjlkj
THe activation scr
Hi, Ive been trying to get this to work but I keep getting this error
Parse error: parse error, unexpected $ in /home/conbud/nrlug/test3.php
on line 72
line 72 is just the ending php bracket, heres what I got:
@mysql_connect(localhost, root, boing_boing) or die("ERROR--CAN'T
CONNECT TO S
thanks but i dont hav e internet accesss
:0
:)
- Original Message -
From: "Jon Haworth" <[EMAIL PROTECTED]>
To: "'Luis A'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 1:32 PM
Subject: RE: [PHP] how to uploads files
> Hi Luis,
>
> > how can i uploads files to
You are mixing and matching your If statements.
if ()
else
AND
if () {
} else {
}
Be consistent. It looks like if you close the { tags your code should
work ok.}
Hope this helps,
Jonathan Pitcher
On Wednesday, March 12, 2003, at 01:11 PM, conbud wrote:
Hi, Ive been trying to get this
How can I check to see if a mysql_fetch_array is empty. I have a search
page, and want to have it so that when there are no matches, it returns
a message saying that there were no matches, and if there are, then
display them. Here is what I have so far to give you an idea as to what
I am tr
Mark,
Why not call the makepic.php image, passing in an URL parameter that is always
different. This makes the browser think you are always calling a different image, and
won't cache it.
Joseph
"Mark Wilson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> I have a PHP page whic
At 19:50 12.03.2003, Mathieu Dumoulin spoke out and said:
[snip]
>Hi, i'd like to know how PHP determines what session_id to hand out to
>users.
>
>Is it based on some real value like the browser and the ip address? an
>incremental number? I want to make sure
At 19:56 12.03.2003, you said:
[snip]
>On Thursday 13 March 2003 02:49, Mike Walth wrote:
>
>You have started a new thread by taking an existing posting and replying to
>it while you changed the subject.
>
>...etc...
[snip]
Mike,
Use mysql_num_rows($db_query) ;
- returns no of rows in the result set.
- if none, returns 0.
Thanks,
Miches
-Original Message-
From: Mike Tuller [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 11:17 AM
To: php mailing list list
Subject: [PHP] Check to see if mysql_fet
user1 abc
$user1_array=array();
array_push($user1_array, "a","b","c");
//check user_array
$cat="";
for ($i=0;$i skrev i meddelandet
news:[EMAIL PROTECTED]
> I am working on some logic where users are categorized based on the
results
> from a few questions. So far everything is working properly,
Wasn't the php manual with user comments available for download at one
time? Is it still there and I'm just not seeing it? If it was never
there, can I suggest that as an option for the manual download from you
good people at PHP? Damn, I'm just full of questions.
--
PHP General Mailing List
Hello everyone. This is kinda off topic but im new. Not to php the list. Im going to
post some of my php in here for the fun of it. Incase anyone needs some cool php or
anything. Thankyou.
--
- Tim Hoffmeyer
- Zizzo.biz
__
Tr
I would say the dynamic nature of this guide requires it to be online, unless
you want to make some sort of "update" feature. Otherwise you would only be
downloading a snapshot. And then comes into play creating and maintaing all
the various "snapshots" of this ever changing document. IMHO, I
Hello:
I have this line:
$sql = "Update Members Set Active='Y' where Username = '$_GET[UN]' And
ActiveCode = '$_GET[ID]'";
Is there a php function that will return true or false or something when
this is processed. I.E. if the Where clause fails it would report back
fail? Or do I first need to
Hiya, ( first time poster, long time user ;o) )
I am creating an interface page with a multi line text box which will
recieve a list of phone numbers on individual lines, so:
12345
12345
12345
and so on...
I need to carry out an operation on each of these numbers (add them to a
mysql db, but tha
At 21:10 12.03.2003, Bix said:
[snip]
>I am creating an interface page with a multi line text box which will
>recieve a list of phone numbers on individual lines, so:
>
>12345
>12345
>12345
>and so on...
>
>I need to carry out an operation on each of these nu
Much appreciated!
Will give it a try.
Thanks ;o)
"Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> At 21:10 12.03.2003, Bix said:
> [snip]
> >I am creating an interface page with a multi line text box which will
> >reciev
Vincent M. wrote:
Vincent M. wrote:
Hello,
I don't understand this code empty my HTTP_POST_VARS variable:
if ((get_magic_quotes_gpc() == 1)) {
switch ($REQUEST_METHOD) {
case "POST":
while (list ($key, $val) = each ($HTTP_POST_VARS)) {
$$key = stripslashes($val);
}
break;
hi again
any y one here can tellme when a have to set the file when i have to upload
???
";
if (move_uploaded_file($uploadfile, $uploaddir)) {
print "File is valid, and was successfully uploaded. Here's some more
debugging info:\n";
print_r($_FILES);
} else {
print "Possible file upload
Ok. I have it changed, but I have something wrong here, because when I
there result is 0, it doesn't print out the message that I want. If I
have it print out the result, it says 0. It has to be something simple,
but I can't see what is wrong.
if ($num = 0)
{
echo "There are no matches f
Hi,
It's a logical error in your IF stmt.
---
if ($num = 0)
{
echo "There are no matches for your search. Please try again.";
}
else
{
---
that should have been if ($num == 0) .
Notice the two = (==).
Thanks,
Miches:)
If you're using apache you could look into the PATH_INFO aspects...
basically converting URLS like:
domain.com/path/to/page.php?id=3
to
domain.com/path/to/page.php/id=3
then using PATH_INFO and substr() and parse_str() to get to $id = 3.. and
you can always add more stuff so it looks like plai
Maybe this can help
Check int / integer - checking if a variable is an integer or not. The
php is_int() function does not check if the string value is integer or
not.
http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1705
How to check if a string has only specific characters?
http:/
I have been trying to validate a form field Last_Name and have been unable
to find a regexp to account for the apostrophe (e.g., O'Reilly). The
following statement:
preg_match('/^[[:alpha:]]+[-]?[[:alpha:]]+$/', $_POST[Last_Name])
accepts hyphenated surnames and I have tried escaping the apostro
That was it. Thanks.
On Thursday, March 13, 2003, at 07:13 AM, Michael Roger C. Bianan wrote:
Hi,
It's a logical error in your IF stmt.
---
if ($num = 0)
{
echo "There are no matches for your search. Please try again.";
}
else
{
--
My host currently has open_basedir() enabled, and unfortunately, they don't
know how to disable it :p
I'd like open_basedir() disabled because it would make my life easier, I can
hide certain files underneath the web root.
So I've done some quick research. I'm looking at the ini_set() function:
h
Try
preg_match ( "/[A-Za-z-']+/", $_POST['Last_Name'] );
[EMAIL PROTECTED] wrote:
I have been trying to validate a form field Last_Name and have been unable
to find a regexp to account for the apostrophe (e.g., O'Reilly). The
following statement:
preg_match('/^[[:alpha:]]+[-]?[[:alpha:]]+$/',
Try is_numeric()?
Boaz Yahav wrote:
>
> Maybe this can help
>
> Check int / integer - checking if a variable is an integer or not. The
> php is_int() function does not check if the string value is integer or
> not.
> http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1705
>
> How to
> My host currently has open_basedir() enabled, and unfortunately, they don't
> know how to disable it :p
>
> I'd like open_basedir() disabled because it would make my life easier, I can
> hide certain files underneath the web root.
>
> So I've done some quick research. I'm looking at the ini_set
Hello,
I want to extract the "name"-attribute of all anchors out of an
HTML-source-code which don't have the "href"-attribute. I can use this
code to get the "name"-attribute:
preg_match_all('/]*?)name=[ \'\"](.*?)[ \'\"](.*?)>/is',$src,$ar);
The name-attributes are now in $ar[2]. How can I ex
the php.ini file is also not user configurable.
I think i found the place in my own php.ini file though where the
open_basedir value would be changed though :/
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > My host currently has open_basedir() enabled, and unfortu
On Wed, 12 Mar 2003, Alex wrote:
> the php.ini file is also not user configurable.
> I think i found the place in my own php.ini file though where the
> open_basedir value would be changed though :/
Right, by design, open_basedir can only be changed by the administrator by
modifying either the ph
If you are really that strict about it coming from you site, have your form
page create an image with five letter of number on it - like 4Y6O7. Have it
create a new one each time. Then use crypt to encrypt it and put the
encrypted one into a form value, have the person that is submitting the form
t
Hello Everyone
I'm running PHP 4.1.2 (no I can't upgrade at the moment) and I'm running
into a problem with open_basedir.
The way I understand the open_basedir directive it allows only file access
to the directory mentioned and its subdirectories.
In my setting I have a directory setting in th
> If you are really that strict about it coming from you site, have your
form
> page create an image with five letter of number on it - like 4Y6O7. Have
it
> create a new one each time. Then use crypt to encrypt it and put the
> encrypted one into a form value, have the person that is submitting th
Hi,
I hope this is the right newsgroup for this so if it is not, please,
excuse me.
I would like to be able to change the brightness of an image using PHP.
Here are some more detiails: I would like to load a jpeg file from a
webpage, change the brightness of the image, and
It's a balance between commenting the code enough to be able to develop and
re-develop the conde without much grief.
As I move through from being a newbie to somebody who spends 80% of their
day working with PHP, I've discovered that a LOT of what I used to comment
was just pointless, because a qu
that could work but the user may now submit one or more apostrophes
as the Last Name.
On Wed, 12 Mar 2003, John Nichel wrote:
> Try
>
> preg_match ( "/[A-Za-z-']+/", $_POST['Last_Name'] );
>
> [EMAIL PROTECTED] wrote:
> > I have been trying to validate a form field Last_Name and have been un
Is it possible to some how thread a php script threw apache. There has to be
something you can do, it seems there is always something you can do :)
What I want is the following.
I administer a mailing list that has a few hundred thousand subscribed
recipients.
I've written a script that runs threw
Ladies and Gents,
I have searched the archives, and have found nothing on these errors
I am getting. Here is the apache error logs capture:
PHP Notice: Undefined index: REMOTE_ADDR in
/home/www/customflagcompany/phpshop/modules/admin/lib/ps_session.inc on
line 39
PHP Notice: Undefin
It's caching an image based on it's URL, so clearly, the browser is not
looking for another pic if the URL is the same, based on the settings you
have for caching in your browser. Other people's results will vary.
The no cache headers on the images SHOULD help, as would no cache headers on
the ca
So your problem has nothing to do with threading. What you need an an
asynchronous way to connect to multiple sockets and deal with responses as
they become available. See php.net/socket_select
-Rasmus
On Thu, 13 Mar 2003, Kris wrote:
> Is it possible to some how thread a php script threw ap
on 13/03/03 5:49 AM, Mike Walth ([EMAIL PROTECTED]) wrote:
> Hello:
>
> What I am trying to do is to create a email verification routine with PHP.
> When people register on the site they will get an email sent to them with a
> link such as http://mysite.com/activation.php?ID=ghjghjg367ghjlkj9hjlk
Jens Lehmann wrote:
> Hello,
>
> I want to extract the "name"-attribute of all anchors out of an
> HTML-source-code which don't have the "href"-attribute. I can use this
> code to get the "name"-attribute:
>
> preg_match_all('/]*?)name=[ \'\"](.*?)[
> \'\"](.*?)>/is',$src,$ar);
>
> The name-attribu
Although I don't know how to do this myself, one of the places I've seen
it done is in JpGraph (www.aditus.nu).
The function that does it is AdjBackgroundImage($bright, $contrast,
$saturation) in jpgraph.php. You could try taking a look at the source?
Pete.
Dimitar Haralanov wrote:
>
>
Your tips were nice, guys, thanks a lot. I tried a few things and i
decided to go for making all the checks server side, cant go safer than that.
Just have a doubt on one of the checks, at least so far.
I have a check for long words, because the shoutbox is in a IFRAME, so if
someone posted a
> Warning: Unknown(): Your script possibly relies on a session
side-effect
> which existed until PHP 4.2.3. Please be advised that the session
extension
> does not consider global variables as a source of data, unless
> register_globals is enabled. You can disable this functionality and
this
>
My *GUESS* is that you're using:
session_register('var')
session_unregister('var2')
rather than
$_SESSION['var'] = 'something';
unset($_SESSION['var2']);
Either that, or you're referring to session vars as $var instead of
$_SESSION['var']
Give that a go and see what happens.
Justin
on 13/
> // method 1
> $_SESSION['array1'] = array("item1", "item2");
>
> // method 2
> session_register("array2");
> $array2 = array("itemA", "itemB");
>
> header ("Content-type: text/html");
>
> echo $array1[0]. "";
> echo $array2[0];
> ?>
>
Well, you're not assigning anything to $array1 (assuming
hi to all,
I have a problem here in image resizing, after the image has been resized
, the image has been discolorized. How can i recreate the image with the
same resolution and color properties.
Here's the sample code from my class file:
$origPic = ImageCreateFromJpeg( $this -> iOrig[ 'tmp_na
On Thu, 13 Mar 2003 10:35:29 +1100, Justin French <[EMAIL PROTECTED]>
wrote:
My *GUESS* is that you're using:
session_register('var')
session_unregister('var2')
rather than
$_SESSION['var'] = 'something';
unset($_SESSION['var2']);
Either that, or you're referring to session vars as $var instead
on 13/03/03 11:23 AM, chris ([EMAIL PROTECTED]) wrote:
> Now, if any other geniouses would like to help me (or any other frustrated
> 4.3.1 users) figure out a solution for this vague error message, don't
> follow Justin's very unhelpful footsteps.
Well I'll certainly never make the mistake of at
Got this problem here.
I have a script i wish to run from a crontab every 2 minutes (Compiles live
stats for a hockey site). This script doesn't run at all in shell mode as an
application but works perfectly fine when called from the web.
Problem is i can't integrate it in the web site like when
hi,
im sort of new to php, and i have the following question.
im reading in a string from a database, this string will become a file name.
so i need to strip everything BUT lowercase a-z and 0-9. well im strtolower
so i dont need to worry about upper case. blank spaces get replaced with _
i wa
if your system suports the commands, try imagecreatetruecolor() instead of
imagecreate(),
and imagecopyresampled() instead of imagecopyresized(),
hope this helps,
Hugh
- Original Message -
From: "Michael P. Carel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003
> im reading in a string from a database, this string will become a file
> name.
> so i need to strip everything BUT lowercase a-z and 0-9. well im
> strtolower
> so i dont need to worry about upper case. blank spaces get replaced
with _
$filename = preg_replace("/[^a-z0-9]/","_",$data);
Replace
thanks its working fine now.
- Original Message -
From: "Hugh Danaher" <[EMAIL PROTECTED]>
To: "Michael P. Carel" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, March 13, 2003 9:09 AM
Subject: Re: [PHP] Image resize
> if your system suports the commands, try imagecreatetrueco
> Your tips were nice, guys, thanks a lot. I tried a few things
and i
> decided to go for making all the checks server side, cant go safer
than
> that.
> Just have a doubt on one of the checks, at least so far.
> I have a check for long words, because the shoutbox is in a
IFRAME,
> What I am trying to do is to create a email verification routine with
PHP.
> When people register on the site they will get an email sent to them
with
> a
> link such as
http://mysite.com/activation.php?ID=ghjghjg367ghjlkj9hjlkjhn0
>
> That way when they click on the link it will verify the code
Hi,
Thursday, March 13, 2003, 6:10:29 AM, you wrote:
MW> Hello:
MW> I have this line:
MW> $sql = "Update Members Set Active='Y' where Username = '$_GET[UN]' And
MW> ActiveCode = '$_GET[ID]'";
MW> Is there a php function that will return true or false or something when
MW> this is processed. I.E
> I have searched the archives, and have found nothing on these
errors
> I am getting. Here is the apache error logs capture:
>
>
>
> PHP Notice: Undefined index: REMOTE_ADDR in
> /home/www/customflagcompany/phpshop/modules/admin/lib/ps_session.inc
on
> line 39
What don't you understand?
> > preg_match ( "/[A-Za-z-']+/", $_POST['Last_Name'] );
> >
> > [EMAIL PROTECTED] wrote:
> > > I have been trying to validate a form field Last_Name and have
been
> unable
> > > to find a regexp to account for the apostrophe (e.g., O'Reilly).
The
> > > following statement:
> > >
> > > preg_match('
Damn... you're right. I missed that key word "image". Sorry.
But... and there's always a but, there are text recognition programs out
there that'll read the text off of the image. So, usually the
recommendation is to use varying font sizes and a textured background,
so they will hopefully fail. Yo
trim($a_string); // removes all newline, carriage returns, and formating
$in_str_var_name=str_replace("search_for", "replace_with",
$in_str_var_name);
replaces any strings or chars
also- check out php.net documentation on string-- many other useful
functions for string manipulation
--
PHP G
trim($a_string); // removes all newline, carriage returns, and formating
$in_str_var_name=str_replace("search_for", "replace_with",
$in_str_var_name);
replaces any strings or chars
also- check out php.net documentation on string-- many other useful
functions for string manipulation
--
PHP
Hi,
Thursday, March 13, 2003, 8:09:45 AM, you wrote:
DH> Hi,
DH> I hope this is the right newsgroup for this so if it is not, please,
DH> excuse me.
DH> I would like to be able to change the brightness of an image using PHP.
DH> Here are some more detiails: I would like t
Hi again,
Thank you, Chris, for your help. We modified the script as per your suggestions and
modified a few other things, so that finally, the script does what it is supposed to
do.
However, there is another problem now, that happens in the e-mail itself. An
exclamation mark appears in the
Another problem I just noticed is that if only one of the Parts items is
filled out, the script "freezes". In other words, for the script to work,
all the Part items need to be filled out.
Can you tell I'm really a newbie at this? :-) Of course, my husband can't
figure this out either, and he su
Thanks, that solved the problem :)
I am however now having another problem inside 1 of the class functions
function return_statement()
{
$state = $this->statement;
print_r( $this->statement );
while( list($item,$arr) = each($this->statement) )
{
print "Hello";
}
/*
I read the description on php.net, but what is
session_name really used for?
Thanks,
Joe.
__
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsub
I'd just like to interject here that I execute php code from cron and I
do not have php compiled as a cgi. I use lynx. Here is a sample of
what I'm doing to e-mail a weekly newsletter to a membership database:
#!/bin/sh
LYNX_TEMP_SPACE=/tmp
TMPDIR=/tmp
TERM=vt100
lynx -dump http://localhost/WF
You can do that, but it's much less secure.
Scott Holmes wrote:
I'd just like to interject here that I execute php code from cron and
I do not have php compiled as a cgi. I use lynx. Here is a sample of
what I'm doing to e-mail a weekly newsletter to a membership database:
#!/bin/sh
LYNX_TEM
It or wget are almost always installed.
Richard Sumilang wrote:
Yeah and that should take up more resources also because now you have
to go through your web server to execute the code. That's very
interesting to know however. Where can I pick up a copy of Lynx?
On Wednesday, March 12, 2003, at
q
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Scott Holmes wrote:
> I'd just like to interject here that I execute php code from cron and
> I do not have php compiled as a cgi. I use lynx. Here is a sample of
> what I'm doing to e-mail a weekly newsletter to a membership database:
>
> #!/bin/sh
> LYNX_TEMP_SPACE=/tmp
> TMPDIR=/tmp
> TERM=v
Hi,
My gc_maxlifetime = 3600 (1 hour) and my probability = 100 , just for
testing . When i create a session on my site and i dont log out , the
session var will still remain on the server , ok , after an hour (not
exactly an hour) , when i surf the site , the collector destroys that var on
the ser
Hello,
I'm wonding if someone can please assist me with the following addition I
would like to make to a music artists site using PHP.
The site has a mailing list, guestbook, & videos -
when the user goes to access the guestbook and videos, I want to be able to
check if they're signed-up to the m
101 - 200 of 213 matches
Mail list logo