Hi to all:
I have a page with two frames. In the top frame I have a form where
I can select some options. When I press the send button a php program
generate a html page that I want to show in the Botton frame. I don't
know how I can load the new page generate in the botton frame. I only
php-general Digest 1 Apr 2001 09:25:46 - Issue 601
Topics (messages 46467 through 46499):
Re: [PHP-DB] RE: [PHP] RE: what exactly are /path/to/blah lookingfor? .h? .so? .a?
what?!
46467 by: Daevid Vincent
Saving file
46468 by: Adi Wibowo
46485 by: Yasuo Ohgaki
Does this work on Windows machines? WHat is the $PHP_AUTH_USER and where
does it come from? What should my access.inc.php look like? I saw the
PHP_AUTH_USER on the www.php.net website but looks like it is only possible
on PHP module, not pHP CGI?
Thanks in advance
-
"Romeo Manzur" <[EMAI
I am not sure what you want to do, but you could try this:
$myText = nl2br($dataFromSubmittedTextBox);
Then $myText will have the correct values.
Cheers
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.237 / Virus Database
Hey, man, you dont look at this list too often, isnt it?
Some days ago I wrote about this.
Here is the message one more time:
You need the jpeg support. Shortly, do this:
(I will use my version names, so you can easyly
find something, if you find newer ones, it's your bussiness)
1. search the in
sbergmann Sun Apr 1 07:13:10 2001 EDT
Modified files:
/php4 NEWS
Log:
Fixed some glitches in NEWS. (Yes, you may call me pedantic :-)
Index: php4/NEWS
diff -u php4/NEWS:1.624 php4/NEWS:1.625
--- php4/NEWS:1.624 Mon Mar 26 12:10:19 2001
+++ php
$B!z!z!z!z!z!z!z!!(BJust in Mail $B!z!z!z!z!z!z!z(B
$B>pJsDs6!4k6HL>(B Fun! Fun!! Fun!!!
$B"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!(B
$B!!(B $B:#=5$N$*>)$a%5%$%H$r$*CN$i$;$$$?$7$^$9(B
$B!!(B http://sv.g-spot.to/check/mail.html
$B!!(B $B!#(B
$B!z
sbergmann Sun Apr 1 07:33:30 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4 NEWS
Log:
Fixed some glitches in NEWS. (Yes, you may call me pedantic :-)
Index: php4/NEWS
diff -u php4/NEWS:1.611.2.1 php4/NEWS:1.611.2.2
--- php4/NEWS:1.611.2.1 Tue M
Hi,
Does anyone know if there is a way to execute a shell command in a php
script? I am trying to execute the following:
/usr/sbin/cadduser -d www.domain.com -f Adrian -u testing -p testing -q 10 -w
[EMAIL PROTECTED]
I have tried passthru(), system(), exec() and none seem to work. I also trie
I'm using PHP on a windows box to access a MySQL database.
I noticed that I do not need to open a database connection before performing
a mysql_db_query(). Is this bad coding ? Should the database connection
always be made ? Is this specific to Windows ?
# $databaseConnection = mysql_connect
wget works fine with redirects, etc. I've never had any problems downloading
php with wget (even on the new site).
--Joe
On Fri, Mar 30, 2001 at 10:40:50AM -0500, Michael Kimsal wrote:
> With the hope that someone at php.net is listening...
>
> I understand you want to track how many downloads
Builld the string in a variables by concatenating them (using while), and
then put the string in the array. It should be something like this:
while($modyear <= $curyear)
{
echo "".$modyear.;
$options = $options . "$modyear" ;
$modyear++;
}
And then in the array, do:
$make = arra
Hi,
are there any knows problems/bugs with session_register()?
With openbsd as a platform (not tested on others) I have the problem
that 20% of the times sessions don't get initialized correctly.
The session-file is created in /tmp (cookies for session-use are turned off),
just the variables
zeevSun Apr 1 09:30:23 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4 configure.in
/php4/main php_version.h
Log:
YARC
Index: php4/configure.in
diff -u php4/configure.in:1.221.4.7 php4/configure.in:1.221.4.8
--- php4/configure.in:1.221.4.7
Well, my bumbling determinism finally paid off.
After starting at the configuration laid down by the rpms, I could not
figure out what was wrong, so I decided to recompile the php source with
the OCI8 option (and -enable-sigchild which is advised in the
configuration output) and for whatever reas
<[EMAIL PROTECTED]> wrote:
> Does anyone know if there is a way to execute a shell command in a php
> script? I am trying to execute the following:
>
> /usr/sbin/cadduser -d www.domain.com -f Adrian -u testing -p testing -q
10 -w
> [EMAIL PROTECTED]
If you're running an Apache module version of P
Hi!
Can I add something in this string to get a htmlpage sent as mail?
mail($recipient,$subject,$corps,"From:
$admail\nReply-To:$admail\nX-Mailer: PHP/");
Thanks in advance.
Regards
Jan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Ive been playing with setcookie() and am stuck with trying to re-pull the
infomation I set, I use:
setcookie ("user_id", $userid, 1, "", "", 1);
to set the cookie and:
if(isset( $user_id )){
echo " cookie 'user_id': $user_id\n";
} else
echo" no cookie set ...\n";
}
to see if its there..
The tag can tag a TARGET attribute, just like the tag can.
Adjust to match your script and frame names
On 4/1/01 2:30 AM, "Diego Pérez Rández" <[EMAIL PROTECTED]> wrote:
>
> Hi to all:
>
> I have a page with two frames. In the top frame I have a form where
> I can select some options.
If you just echo $userid you will get the results.
do this
setcookie ("cookie_variable", "chocalate chip", 1, "", "", 1);
echo $cookie_variable
You can name the cookie_variable whatever you want and that will be referenced
as the variable to store "chocalate chip".
Now if you want to see the va
Ok. I must be s blind. Is there a function to insert a value into the
middle of an array without rewriting it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators,
On 4/1/01 11:32 AM, "Yoshi Melrose" <[EMAIL PROTECTED]> wrote:
> Ok. I must be s blind. Is there a function to insert a value into the
> middle of an array without rewriting it?
>
>
In PHP3, no.
PHP4, see http://www.php.net/manual/en/function.array.php
You could pull it off with combinatio
Hello Chris,
On 27-Mar-01 19:26:19, you wrote:
>I'm working with some forms that need the data validated. Dates, times etc.
>my question is, how do I "reset" the form back to the original screen with
>variables intact so they can make the changes?
It's better that you use the same script to
Hello Gildas,
On 27-Mar-01 05:56:06, you wrote:
>What are the pros and cons to using PHP as a scripting language like Perl or
>Python?
PHP does not support multi-threading. It's not important for serving Web
pages, but it is very important when you use it for executing tasks that
have to handl
- Original Message -
From: "Lindsay Adams" <[EMAIL PROTECTED]>
> On 4/1/01 11:32 AM, "Yoshi Melrose" <[EMAIL PROTECTED]> wrote:
>
> > Ok. I must be s blind. Is there a function to insert a value into
the
> > middle of an array without rewriting it?
> >
> >
> In PHP3, no.
> PHP4, see ht
On 4/1/01 11:57 AM, "Yoshi Melrose" <[EMAIL PROTECTED]> wrote:
> - Original Message -
> From: "Lindsay Adams" <[EMAIL PROTECTED]>
>> On 4/1/01 11:32 AM, "Yoshi Melrose" <[EMAIL PROTECTED]> wrote:
>>
>>> Ok. I must be s blind. Is there a function to insert a value into
> the
>>> middl
cheers Jack but Ive tried this and get the error msg:
Warning: Undefined variable: user_id in
C:/XITAMI/webpages/netrux/intothemain.php on line 14
so its not setting the varible by the looks of it any ideas? cheers
Jack Sasportas wrote in message
<[EMAIL PROTECTED]>...
>If you just echo $us
Hi,
I`m about to buy the Zend encoder from thier website and thought I better ask
a pretty important question, unfortunately Zend couldn`t be bothered to
follow up the lead on someone who might buy thier product so I thought I
would turn to you guys to see if any of you know.
Is it possible i
Without getting into the specifics of the zend product,
which we've not tested thoroughly, I'd hazard a wild speculation that
zend encoder-encoded scripts:
1. can be decoded
2. can NOT be decoded to the original source
Obviously anything encoded needs to be decoded to run, and someone
with enoug
> Is it possible in any instance that someone else will be able to
> de-code my
> PHP scripts once I have used the Zend Encoder on it, and be able
> to read it?
> Obviously they will be able to decode it to actually use it on
> the server,
> but will they ever be able to read the source?
They wi
Jan Grafström wrote:
>
> Hi!
> Can I add something in this string to get a htmlpage sent as mail?
>
> mail($recipient,$subject,$corps,"From:
> $admail\nReply-To:$admail\nX-Mailer: PHP/");
> Thanks in advance.
>
> Regards
> Jan
>
Content-Type: text/html
Enjoy,
David Pieper
--
programmer n.
php-general Digest 1 Apr 2001 21:37:24 - Issue 602
Topics (messages 46500 through 46525):
Re: login without database
46500 by: Erick Papadakis
Re: "\r\n" gives extra empty line between each line in Outlook
46501 by: Erick Papadakis
Re: Compiling PHP4, & Re: Image resizing
Helloppl,
I have php compiled with GD support (version>1.8 so I have png support). I try
the following code and get a broken image:
\n");
imagepng($image);
$blue = imageColorAllocate($image,0,0,255);
imageRectangle($image, 50, 50, 150, 150, $blue);
imagedestroy($image);
?>
I get this e
I hope this is not off topic, but I need to ask a general audience this
question and this seems like the right group.
I have been out of work for two months and I am not sure why. I am a
talented web programmer with three years experience, strong Perl,
JavaScript, CGI, and HTML skills and a grea
You might want to look in the PHP source code at the README.EXT_SKEL file for
info on how to incorporate that stuff.
--Joe
On Sat, Mar 31, 2001 at 08:49:30PM +0200, Ft Karras wrote:
> Somebody knows if it is possible to link C and PHP?
>
> I have a C library and need to 'include' with PHP code,
How can i determine the number of characters in a string? I am using substr
to cut off the last 4 characters of a string. Which is working great. But I
want to replace the 3 charcters with "..." only if there are over 20
charcters . I tried substr_replace but it appears on everything no ma
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("Marcus Ouimet") wrote:
> How can i determine the number of characters in a string?
http://www.php.net/strlen/
--
CC
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Perhaps you should have taken that job. ??? I've heard (and found really)
that it's easier to find work if you're working. It's harder to make
interviews
and whatnot, but it gets you out there, you meet others and network. Who
knows where that can lead to? But if your talent is being put to u
wez Sun Apr 1 16:06:14 2001 EDT
Modified files:
/php4/ext/openssl CREDITS README openssl.c php_openssl.h
Log:
Added whole bunch of PKCS7 (S/MIME) functions and made the key/cert params
a bit more friendly to use. See the README for more info.
Inde
At 4:16 PM -0700 4/1/01, Marcus Ouimet wrote:
> How can i determine the number of characters in a string? I
>am using substr
>to cut off the last 4 characters of a string. Which is working great. But I
>want to replace the 3 charcters with "..." only if there are over 20
>charcters . I trie
At 9:47 PM -0800 3/31/01, Chris Adams <[EMAIL PROTECTED]> wrote:
>On 31 Mar 2001 21:07:59 -0800, Michael Hall <[EMAIL PROTECTED]> wrote:
>>
>>I'm using the following expression to check input strings:
>>
>>if (!ereg("^[[:alnum:]_-]+$", $string)) { get outta here! }
>>
>>This works fine except for
On Sun, 1 Apr 2001 03:06, PHP User wrote:
> Here is my problem.
> I have a file, static.php
> static.php writes to index.html by way of...
> $filename = "/web/h16/docs/index.html";
> $fp = fopen("$filename","w");
> fwrite($fp, "\n");
> etc..
>
> If I hit static.php from the command line, inde
On Sat, 31 Mar 2001 21:31, Ales Kunst wrote:
> Hi,
>
> I have a strange kind of a problem. I'm cannot write to files on a
> server (i'm having virtual host) where i got my domain name.
> The server is running Apache 1.3.x and is having php3.0.8 installed.
> The code looks like this:
>
>
>
>
If you have the php cgi installed you can run a script like so:
exec("php -q /path/to/script.php")
You didn't include the command (php -q), you only included the path to the
script.
If you don't have the cgi, but you are running on *nix you can
exec("lynx http://www.host.com/script.php")
assumi
Hello all.
We're working on a project and need some information from other PHP
developers
about some of the projects you've developed, large and small. We're
looking for
information such as development time, hardware, integration issues,
traffic/stats, etc.,
and you'd need to be willing to have
Scott Fletcher"" <[EMAIL PROTECTED]> wrote in message
9a23cm$fuu$[EMAIL PROTECTED]">news:9a23cm$fuu$[EMAIL PROTECTED]...
> One more question! Why does some PHP 4.0 & up does not have the php.ini
> file? I noticed for the UNIX, there isn't one. For Caldera, there is
one.
> For Windows, there is
wez Sun Apr 1 18:31:07 2001 EDT
Modified files:
/php4/ext/openssl openssl.c
Log:
added some more error reporting and did a little tidying.
Index: php4/ext/openssl/openssl.c
diff -u php4/ext/openssl/openssl.c:1.10 php4/ext/openssl/openssl.c:1.11
--- ph
hi peoples, Im going insane here, I have this script working great except
two things ...
for one , the sql query returns an error that couldnt run the query...
and the second is that the variable $user_reg[2] holds nothing even though
I cheked the html form and also checked the cookie variable an
Hi
I do it using sessions with:
//Check for a reload
$hash = mhash(MHASH_SHA1,serialize($HTTP_POST_VARS));
$hash = bin2hex($hash);
if($hash == $Hash):
$reload = "Yes";
echo "reload ";
endif;
$Hash is registered in the session.
Tom
At 02:54 AM 31/03/01 +0100, David Hynes wrote
Hi,
I would like to ask how to attach a file in PHP's Mail Function ??
Thank you
Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECT
Hi,
I would like to know how to send a mail in HTML format in Mail
Functions.
Thank you
Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL P
Hello
I make change of your code by move some line to correct line and it's
work.
Here this a code
\n");
$blue = imageColorAllocate($image,0,0,255);
imageRectangle($image, 50, 50, 150, 150, $blue);
imagepng($image); // I MOVE THIS LINE
imagedestroy($image);
?>
Hope this will help.
-Tuna-
$recipient = "Recipient <[EMAIL PROTECTED]>"
$headers .= "From: name <[EMAIL PROTECTED]>\n";
$headers .= "X-Sender: <[EMAIL PROTECTED]>\n";
$headers .= "X-Mailer: PHP\n";
$headers .= "X-Priority: 1\n";
$headers .= "Content-Type: text/html; charset=iso-8859-1\n";
$message = "This is HTML!!!See!!!";
David Robley wrote:
> On Sat, 31 Mar 2001 21:31, Ales Kunst wrote:
> > Hi,
> >
> > I have a strange kind of a problem. I'm cannot write to files on a
> > server (i'm having virtual host) where i got my domain name.
> > The server is running Apache 1.3.x and is having php3.0.8 installed.
> > The c
I don't know if it's been mentioned or not, but I have found that unless the
file exists, I can't open it. Have you verified that the file exists and the
user that the script will run as has the appropriate permissions?
-Original Message-
From: jon [mailto:jon]On Behalf Of Jon Jacob
Sent:
> >When I use this script
> >
> > header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
> > header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
>
> ### oops, don't forget to escape these! ^ ^
Umm, why would he need to escape those two "'s? They arn't within anothe
s
Hello,
I am new to the list and to php...I would like to know how php does with the
major search engines. Do I need to do something extra to make it work? Will
it index if I am pulling my content from text files? (If this is in an
archive somewhere, point me to it).
Thank you!
Joe
--
PHP Gen
There are a few things that can help you get indexed by the search engines
if you are using a server side scripting language.
1. Try to avoid passing variables in the get string. That is, the stuff
after the "?" in a url.
2. If you want a page indexed, don't redirect from that page to another
pag
What is a good place to find PHP jobs?
J
Say I'm Hot! - Post Your Picture!
http://www.sayimhot.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAI
"Joe Montiel" <[EMAIL PROTECTED]> wrote:
> I am new to the list and to php...I would like to know how php does with
the
> major search engines. Do I need to do something extra to make it work?
Will
> it index if I am pulling my content from text files?
PHP produces HTML output which is sent to a
Tyrone Mills wrote:
> I don't know if it's been mentioned or not, but I have found that unless the
> file exists, I can't open it. Have you verified that the file exists and the
> user that the script will run as has the appropriate permissions?
>
>
I think you are mistaken. According to the PH
try monster.com,
do a search for it jobs,
send your resume to head hunters.
buy big city news papers.\
At 11:04 PM 4/1/01 -0500, you wrote:
>What is a good place to find PHP jobs?
>
>J
>
>
>
>Say I'm Hot! - Post Your Picture!
>http://www.sayimhot.com
>
>--
>PHP General Mailing List (http://www.
Hi all
I heard rumors saying there is no way to use session in php3, is that correct? ( only
joking about the rumors, but really need to know this though:-)
If there is no way to get around this, what is syntax for assign session in php4 then?
thanks in advance
Jack
[EMAIL PROTECTED]
"There is no
How can I prevent error messages from being displayed and sent to a log file
instead?
--
===
Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/
Now to him who is able to do immeasurably more than all we ask
I use a package called sudo which allows you to give limited root rights to the
user that your webserver is running as. Using this I'm able to add/delete a user
from a PHP script and also change passwords using poppassd.
http://www.courtesan.com/sudo/
Chris
[EMAIL PROTECTED] wrote:
> Hi,
>
> D
"Jacky" <[EMAIL PROTECTED]> wrote:
> If there is no way to get around this, what is syntax for assign session
in php4 then?
PHP session support is possible in PHP3 using a 3rd party module from the
PHP Base Library (http://phplib.netuse.de/) which is pretty widely used.
For session handling in PH
I was sorry to read that Adrian said he received no
answers to his reply about the Zend Encoder Unlimited
from Zend.
We aim to be extremely responsive to all queries, but
if you find that you haven't received a reply, please
email [EMAIL PROTECTED] and I will make sure you receive
a reply.
Gener
No idea if this will help, but not sure why you are serializing the array...
// sessionarray.php4
session_cache_limiter("");
session_start();
session_register('name');
session_register('city');
session_register('state');
session_register('postcode');
session_register('pagecount');
if (pagecoun
Hello,
Any idea how can i possibly access an Interbase database residing in NT4 from
my web server running in Linux?
Thanks a lot.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the li
phpLinks v2.0b is released. - http://phplinks.org/
Changes - http://phplinks.org/changelog
Download - http://phplinks.org/?show=download
Please note, this is a beta release.
Regards,
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
1, Ok, I checked my existing apache install (httpd -l and it has
mod_so.c)
2. Installed php using the following line: configure
--with-apxs=/usr/local/apache/bin
3. Changed my httpd.conf file to allow .php:
- AddType application/x-httpd-php .php
- Ad
You might want to add to some of your skills.
Grab some quick Oracle training. (Don't pay for it, just
go to free sites like: www.dbasupport.com and technet.oracle.com.)
Your resume would look alot more attractive if you knew SQL and Oracle
a bit more. This is just my opinion though.
--
PHP
On Mon, 2 Apr 2001 15:31, natter wrote:
> 1, Ok, I checked my existing apache install (httpd -l and it has
> mod_so.c)
> 2. Installed php using the following line: configure
> --with-apxs=/usr/local/apache/bin
> 3. Changed my httpd.conf file to allow .php:
> - AddType appl
Sorry. :( Yes, I have done this many times.
My version below is just the 1st steps I took. I have spend
3 hours trying to reconfigure and try anything that I could think of.
Nothing.
Thanks though.
David Robley wrote:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
On Mon, Apr 02, 2001 at 12:01:08AM -0600, natter wrote:
> 3. Changed my httpd.conf file to allow .php:
> - AddType application/x-httpd-php .php
> - AddType application/x-httpd-php-source .phps
Do you have the directive to load the php-module in you
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Any idea how can i possibly access an Interbase database residing in NT4
from
> my web server running in Linux?
To do this, I believe you will have to compile PHP on the Linux box with the
Linux GDS libraries (as
http://www.weberjob.com
Sincerely
berber
Visit http://www.weberdev.com Today!!!
To see where PHP might take you tomorrow.
-Original Message-
From: Joseph Bannon [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 02, 2001 6:05 AM
To: [EMAIL PROTECTED]
Subject: [PHP] php jobs?
77 matches
Mail list logo