It would also be nice to have a script that will let me add new ones
whenever I want and delete any ones I want but I think I can figure that
out. I also need these tech tips to be able to be in html so that I can
add pictures.
On Thursday, February 28, 2002, at 02:23 PM, Josiah Wallingford
All,
I have a question about upgrading php With the CERT
advisory coming yesterday and the quick response from the PHP website I
thought today would be a good day to upgrade my PHP I initially
installed the php 403 src in /usr/src and built it as an apache module
DSO To
What's the difference between this and the serialize() function?
Erik
On Monday, February 25, 2002, at 11:27 PM, Demitrious S. Kelly wrote:
It breaks the individual characters down into their ascii equivalent,
and makes it one big 'numerical' string... then breaks the string back
into
Did you register de variable?
look for session_register() in the manual.
You can see this articles too:
http://www.phpbuilder.com/columns/mattias2312.php3
http://www.phpbuilder.com/columns/mattias2105.php3
William.
El mar, 26-02-2002 a las 23:36, Dave escribió:
login.htm
Thanks for the reply. I have another question. If I have to recompile
Apache can I take this opportunity to upgrade it as well. I'm using 1.3.14
but would like to upgrade to a more recent version. Also, I remember when
I compiled PHP the first time I had to have the Apache source and when I
Is there a way to override the headers that session_start() sends to the
browser from within a PHP script? On php 404pl1 (will be upgrading to
411 later) on SOME browsers (notably, IE 60 on XP -- my setup), a script
I have that outputs a PDF document will misbehave in IE when the No-store
portion
Erik Price wrote:
What's the difference between this and the serialize() function?
Erik
It solves a different problem to serialize(). serialize can take pretty
much any PHP object / array / data structure and convert it into a
string, but the resulting string will still need addslashes()
There is no need to use cookies, sessions, write to a file or somethings
like that... just pass the vars from a page to another through hidden
fields in the next page form.
Eg.
input type=hidden name=myHiddenVar value=?= $myHiddenVar ?
William
El mié, 27-02-2002 a las 02:18, Chris Kay
OK yah, this is a pain in the butt, $REMOTE_ADDR Dose not work in Sambar 5.1. Anyone
have anyone have any solutions that can be used insteard?
Philip J. Newman
Philip's Domain - Internet Project.
http://www.philipsdomain.com/
[EMAIL PROTECTED]
Phone: +64 25 6144012
Another way of doing it is thru an e-mail to sms gateway; free or paid.
That way you could make a simple form and use mail();
Just a thought.
Frank.
-Oorspronkelijk bericht-
Van: Simon Willison [mailto:[EMAIL PROTECTED]]
Verzonden: donderdag 28 februari 2002 12:30
Aan: hei
CC:
Hi,
I've setup a form that users to our site fill out to request to be added to
our listings Currently its setup so that the user fills out the form, and
the information is emailed to me for reviewing - however I'd like to carry
it a step further and enter only some of the emailed
Philip J Newman wrote:
OK yah, this is a pain in the butt, $REMOTE_ADDR Dose not work in Sambar 51 Anyone
have anyone have any solutions that can be used insteard?
Whenever you have a problem like this run phpinfo(); and have a look at
the available environment variables Useing
Tim Thorburn wrote:
I've setup a form that users to our site fill out to request to be
added to our listings Currently its setup so that the user fills out
the form, and the information is emailed to me for reviewing - however
I'd like to carry it a step further and enter only some of
The date() function is returning the 19th of Januray 2038 as *ALL* dates no
matter what timestamp i feed it! whats goin on??
--
Regards,
Georgie Casey
[EMAIL PROTECTED]
***
http://www.filmfind.tv
Ireland's Online Film Production Directory
***
Title: RE: [PHP] Reference problem
I wrote an xml parsing class, and xml tag class, that might help you there
see the attachment
-Original Message-
From: John English [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 12:35 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject:
What I want to do is have a function available to all my php files without
having to use an include in every page. So what I did was put this line in
my .htaccess file:
php auto_prepend_file pathtoscript/uniemail.php
It didn¹t work, I also tried php_auto with the underscore in the above.. And
Is this a server thing, becuse I have just updated the server, and I used to
use it all ver the site and it worked ... is there anything else that could
do the job of $REMOTE_ADDR ?
I run the windows isapi 4.0.5 on Sambar 5.1 if that healps
- Original Message -
From: Simon Willison
Do I have to fully load up an array when I declare it or can I assign
more values to it later?
What I want to do is something like this :
// create empty array
$samplearray = array();
// add value to array
if($flag == true){
$samplearray = $samplevalue;
}
This doesn't work, can anybody
sure, you can add/remove/modify element whenever you want
your syntax is wrong though
try this
// add value to array
if($flag == true){
$samplearray[] = $samplevalue; // append value to end of array
}
-Original Message-
From: sundogcurt [mailto:[EMAIL PROTECTED]]
Sent: Friday,
Hi Brad,
Hi all... I have a line in a page that should send me an email when
the page
is loaded.
mail([EMAIL PROTECTED], worked, Line 1\nLine 2\nLine
3);
when i load the page...i get NO error msgs, but the function does not
send
the mail. There is no record of any activity in the mail
Hi Georgie,
The date() function is returning the 19th of Januray 2038 as *ALL*
dates no
matter what timestamp i feed it! whats goin on??
Result outside the UNIX epoch.
Sounds like DATE()'s being fed some crazy data.
What is the server's ToD clock showing?
Make sure you debugECHO the source
Hi all,
I am running PHP 4.03 on a linux box and am having problems with the mail()
function.
I use the syntax:
([EMAIL PROTECTED], if this works, ring me and we party, Line
1\nLine 2\nLine 3, From: [EMAIL PROTECTED])
When the script is run, i get no error msg, and the rest of the script works
Hello Vidyut,
I have a question regarding array_walk.. I couldn't find any help on
the website or on irc.. didn't know where else to look.
You've come to the right place.
I'm stumped, and about to just copy the function on top of this script
to make it work.. any ideas from anyone else ?.
Hi
Does anyone know of any MacOS-style pager applets? Something that would sit
in the panel and display the current app, and give me a drop down list of
running apps.
GNOME has a very good one, and I miss it having switched to KDE.
--jaa
--
PHP General Mailing List (http://www.php.net/)
Someone tell me what DLL files you actually need to run PHP on isapi, do I
need to have all the files in the /php/ dir? Takes up heaps of HDD space.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Frank Miller wrote:
Thanks for the reply I have another question If I have to recompile
Apache can I take this opportunity to upgrade it as well I'm using
1314 but would like to upgrade to a more recent version Also, I
remember when I compiled PHP the first time I had to have the Apache
Sorry -- that was supposed to go to the KDE list :)
On Monday 25 Feb 2002 20:12, James Arthur wrote:
Hi
Does anyone know of any MacOS-style pager applets? Something that would sit
in the panel and display the current app, and give me a drop down list of
running apps.
GNOME has a very good
We'll for give you
- Original Message -
From: James Arthur [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 01, 2002 12:39 PM
Subject: Re: [PHP] MacOS-style pager
Sorry -- that was supposed to go to the KDE list :)
On Monday 25 Feb 2002 20:12, James Arthur wrote:
Hi
Yes, you have to re-compile php because php compile and install a module
under apache_1.3.xx/src/modules
Thanks for the reply. I have another question. If I have to recompile
Apache can I take this opportunity to upgrade it as well. I'm using 1.3.14
but would like to upgrade to a more
Yep it is a linux box.
From: DL Neil [EMAIL PROTECTED]
Reply-To: DL Neil [EMAIL PROTECTED]
Date: Thu, 28 Feb 2002 22:55:59 -
To: Brad Wright [EMAIL PROTECTED], PHP General List
[EMAIL PROTECTED]
Subject: Re: [PHP] PHP MAIL function...why wont it work
Hi Brad,
Hi all... I have
I am working with this Radiuscgi script and know nothing about cgi I
need all of the content to be in php Can anybody help?
radius-cgi.tar.gz
Description: GNU Zip compressed data
--
PHP General Mailing List (http://wwwphpnet/)
To unsubscribe, visit: http://wwwphpnet/unsubphp
Are there any win32 / *nix PHP compilers out there to make a binary
executable I remember one for win32 a while back but that's no longer
even a glimmer in somebody's eyes anymore Anyone have any info on the
subject? (I'm not even looking for something GTK compliant just
something that works)
I am using 4.0.6 as a apache module in a redhat server, compiling the src
rpm with a couple of custom commands in the spec file. I can't upgrade to a
newer version due to changes in the xmltree() function that breaks some of
my projects.
With the recent vunerability, I needed to generate a
Consider
?php
echo serialize('blah');
?
it returns 's:4:blah;'
now, consider
encode('blah');
it returns '098108097104'
now consider which of the two output strings you end up having to escape
special characters for...
:)
-Original Message-
From: Erik Price [mailto:[EMAIL
For any of you PHP legal eagles:
I rtfm'd, but the elseif page doesn't say -- is it okay to have
if ($x) {
// do something
} elseif ($y) {
// do something
} elseif ($z) {
// do something
}
without a final else? My code works fine -- so I know that you -can-
do this. What I was wondering is
If you are setting a variable inside of the if statements, and then
checking that variable later, then I would say you should either use an
else statement to give that variable a default value, or you should set the
variable to a default value before the if statements Your code is
Perfectly legitimate... it is much like having a switch statement without a
default clause.
- Original Message -
From: Erik Price [EMAIL PROTECTED]
To: PHP (E-mail) [EMAIL PROTECTED]
Sent: Thursday, February 28, 2002 7:32 PM
Subject: [PHP] elseif without else
For any of you PHP
Hello,
I need some help with functions Does anyone know of a good place to learn
about functions? Will someone be willing to teach me what I need to know about
functions in PHP? Thank you,
-Sean Kennedy
-http://wwwgdesignsvcncom
--
PHP General Mailing List (http://wwwphpnet/)
To
if there's nothing to do in the else block, then it's a bit pointless to
have one
eg
input type=checkbox? if ($blah) echo checked; ? value=xxx
name=blah
see what I mean?
Martin
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 11:32 AM
To: PHP
Since your function stripslashes the data, does that mean that it's not
a good idea to use on code that has backslashes? (For instance, if I
have some data that I've already run through addslashes or something).
Essentially all I'm asking is if it's safe to encode() any string data
or just
On Thursday, February 28, 2002, at 07:56 PM, Dennis Moore wrote:
Perfectly legitimate... it is much like having a switch statement
without a
default clause.
Oh, I didn't know that that was legitimate either. :) Thanks Dennis
Erik
Erik Price
Web Developer Temp
Media Lab, H.H.
One issue I've come across is if you have a site up and running, make
php and install php and make and install apache, php won't be upgraded
You need to stop apache before you install the new apache so
after you make apache, stop the running apache, install apache, and then
start apache up
On Thu, 28 Feb 2002, Richard Baskett wrote:
What I want to do is have a function available to all my php files without
having to use an include in every page So what I did was put this line in
my htaccess file:
php auto_prepend_file pathtoscript/uniemailphp
On my system I had to give the
Actually I did give the absolute path.. Any more ideas?
Rick
If you're going to be able to look back on something and laugh about it,
you might as well laugh about it now. - Marie Osmond
From: Timothy J. Luoma [EMAIL PROTECTED]
Date: Thu, 28 Feb 2002 20:06:39 -0500 (Eastern Standard Time)
Hi guys, I hope someone out there can help me
I just ran into an interesting issue
Basically, I am working on a php-powered template which works
in two different languages (English and Ukrainian):
http://wwwkulchitskicom/btl/templatephp?lang=eng
When you go to this address (!in Netscape),
Vlad,
Try a href=$PHP_SELF?lang=ukrIMAGE/a
/bsh/
--
PHP General Mailing List (http://wwwphpnet/)
To unsubscribe, visit: http://wwwphpnet/unsubphp
I'm trying to use the file upload patch..on 4.0.4pl1
but it only says its for 4.0.6.so will it not work on 4.0.4pl1?
and if so..how does it work?
I got this when running it..
Hmm... Looks like a unified diff to me...
The text leading up to this was:
php_value include_path /includefiles/://includefiles/
Bill wrote:
How can I set the php include path on an Apache machine using htaccess
Assuming I'm puting it outside of the web root, I think it is something
like:
php_include_path /includefiles/://includefiles/
but that generates
It's not 'php' but 'php_value'.
php_value auto_prepend_file pathtoscript/uniemail.php
Richard Baskett wrote:
What I want to do is have a function available to all my php files without
having to use an include in every page. So what I did was put this line in
my .htaccess file:
php
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Sean Kennedy)
wrote:
I need some help with functions. Does anyone know of a good place to learn
about functions?
http://www.php.net
Will someone be willing to teach me what I need to know about
functions in PHP?
If you find after
I need some help with functions. Does anyone know of a good place to learn
about functions? Will someone be willing to teach me what I need to know
about
functions in PHP? Thank you,
Here's a really simple example:
?
// regular variable that exists outside any functions
$global_var = 5;
//
Hi again, I am doing a simple example of cookies and my server seems to
get frozen
Basically, what I do is:
file01php:
?
session_start();
seession_register(sess_var);
sess_var = Hello;
?
file02php
?
echo $sess_var;
session_unregister(sess_var);
?
What ends up happening when I go to the
So download 406 and patch that Or walk through the patch manually and
apply the relevant bits to the rfc1867c file
On Thu, 28 Feb 2002, Steven Deaton wrote:
I'm trying to use the file upload patchon 404pl1
but it only says its for 406so will it not work on 404pl1?
and if sohow does it work?
Is preg_replace() the best PHP command to use for parsing custom codes in
text retrieved from a database (eg, turning [link= ] into a href= )?
--
PHP General Mailing List (http://wwwphpnet/)
To unsubscribe, visit: http://wwwphpnet/unsubphp
Hi,
I'm having trouble with connection of Oracle I have followed the
following steps
1I have installed oracle (client side) on my web server
2I have installed php, copied phpini file into WinNt/System32
directory
3Uncommented extension = php_oci8dll (even copied the php_oci8dll
into
Hello.
Have a submission form on my website with attachment possibility.
Now, the problem is that it submits all the fields and takes the picture
file
with it.But when i recieve it in my outlook or outl.exprss the image is
like encrypted - all in zeros and ones mixed with some other stuff.
I
Hi,
Can any one tell me how to decompress .bz2 file,I am using WINDOWS-2000 so
what are the steps?
Thanks in advance.
Regards
Dharmavatar
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
Trying to create some pdf documents on the fly with php and mysql..
I search the web but not yet found any easy way to do this...
Tried Yaps but it requires ghostscript which didnt install on a cobalt raq4
because it it requires some more programs (glibc...etc..)...
Anyone can give
The following code returns a 404 error on a friends host site The
environment is Apache/1323 (Unix) mod_layout/304 PHP/411 rus/PL3011
running under FreeBSD as2centreru 42-RELEASE FreeBSD 42-RELEASE #0:
?php
header(WWW-Authenticate: Basic realm=myRealm);
header(HTTP/10 401 Unauthorized);
?
You could try:
http://www.fpdf.org/
Someone posted recently and I've quickly whacked it into my toolbox :-)
Jim .
Andras Kende [EMAIL PROTECTED] wrote in message
004801c1c0e3$26bf6070$b59fb841@K..">news:004801c1c0e3$26bf6070$b59fb841@K..;
Hello,
Trying to create some pdf documents
Search on google! Here's the bzip2 homepage with links to download a
windows executable:
http://wwwdigistarcom/bzip2/
Jeff
At 10:55 AM 3/1/2002 +0530, dharmavatar wrote:
Hi,
Can any one tell me how to decompress bz2 file,I am using WINDOWS-2000 so
what are the steps?
Thanks in advance
Hi
, It z amazing behaviour...I
am wondering how it is coming only for first time execution.
If I remove the two
If conditions in authentication.php and if I execute then it is displaying the
blank screen. And again if we replace those two if conditions and if you execute
again then it
Hello all
I have just created a login script that works fine. At the moment I have a
pretty simple (I have coded this but I am trying to keep it simple to
explain what I am after
if login != ok then
generate HTML for error page
else
Generate HTML for ok page.
end;
what I want to do is
Have you stop / start your server ?
or may be there are some dependencies needed? try to if a DLL is missing,
using http://www.dependencywalker.com/
Regards,
Philippe
Dharmesh Goradia [EMAIL PROTECTED] a écrit dans le message
news: [EMAIL PROTECTED]
Hi,
I'm having trouble with
I'm looking for two functions One to scramble a string, and one to check
if one string is a scrambled version of another Does anybody have these?
--
PHP General Mailing List (http://wwwphpnet/)
To unsubscribe, visit: http://wwwphpnet/unsubphp
Maybe try looking into the crypt() or md5() functions on php.net. These will
encrypt a string more than scramble, but maybe one of these serves the
purpose.
From: [EMAIL PROTECTED] (Leif K-Brooks)
Newsgroups: php.general
Date: Fri, 01 Mar 2002 02:30:04 -0500
To: [EMAIL PROTECTED]
Subject:
on 3/1/02 2:43 AM, Monty at [EMAIL PROTECTED] wrote:
Maybe try looking into the crypt() or md5() functions on php.net. These will
encrypt a string more than scramble, but maybe one of these serves the
purpose.
No, that isn't what I'm looking for. It's not for encryption. I just need
a
You can use javascript.
If you're calling this from a frame, this is how it works:
parent.frames[first_frame / zero based number].location.href =
my_page.php;
parent.frames[second_name / zero based number].location.href =
my_page2.php;
Problem with this is that if user clicks Back button in
hi i get this error message whenever i open my page (except during the
first time i open it) Can someone tell me what this means?
Warning: open(/tmp\sess_4ed4219513a84c54eba4c1117756c572, O_RDWR) failed: m
(2) in C:\apache\htdocs\rs_alumni\alumniphp on line 2
Here is the beginning of my code:
good morning,
i want to create a new file and save it in the current dir I look in the
manual but only i found how to create a dir
Thanks for help
Thomas
--
PHP General Mailing List (http://wwwphpnet/)
To unsubscribe, visit: http://wwwphpnet/unsubphp
fopen(file, w)
-Original Message-
From: Thomas Franz [mailto:[EMAIL PROTECTED]]
Sent: 1. maaliskuuta 2002 9:55
To: [EMAIL PROTECTED]
Subject: [PHP] create a file
good morning,
i want to create a new file and save it in the current dir. I look in
the manual but only i found how to
Explain what you mean by scramble and what you are trying to accomplish?
There isn't a built-in function for this that I've seen, so, you'll have to
write your own function using various PHP commands. This function might be
useful to that end: http://www.php.net/manual/en/function.levenshtein.php
Thats a good option, 1 I will certainly look into.
more questions then.
1.)Is there a way to do this within php ?
2.) how can I refresh my page generating the frame so that it will load the
new FRAME SRC=? $SOURCEVAR ?
Thanks,
Matt.
-Original Message-
From: Niklas Lampén
I found it.
Thomas Franz [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED];
good morning,
i want to create a new file and save it in the current dir. I look in the
manual but only i found how to create a dir.
Thanks for help.
Thomas
--
PHP General Mailing List
Start here...
http://www.php.net/manual/en/function.fwrite.php
From: [EMAIL PROTECTED] (Thomas Franz)
Newsgroups: php.general
Date: Fri, 1 Mar 2002 08:55:25 +0100
To: [EMAIL PROTECTED]
Subject: create a file
good morning,
i want to create a new file and save it in the current dir. I
Hi There,
Could anyone suggest where I can get a workaround script to handle postback
variables to Paypal with PHP?
I was all set to use cURL but now I've been told that the host hasnt and
wont install it with their PHP
Thanx in advance
Phil
--
PHP General Mailing List (http://wwwphpnet/)
101 - 176 of 176 matches
Mail list logo