Hi,
Sunday, July 27, 2003, 3:04:56 PM, you wrote:
K2 Hi, there.
K2 I'm trying to find out how to get multiple values from text area box
K2 textarea/textarea.
K2 Values are like this.
K2 aaa\n
K2 bbb\n
K2 ccc\n
K2 ddd\n
K2 eee\n
K2 I need to take \n from each value and put all the values to
Hi there Binay
Have a look at http://smarty.php.net - this is a very good templating
engine.
You could also consider creating your own if you have specific needs. We
created our own pre-parser (built in PHP but soon to be ported to an Apache
module) that works really well for us
Best regards
I have some URLs in hrefs that have an . This does not validate HTM4.01
transitional, so I want to replace them with amp;
So I buffer the output and do a replace, but suppose there is already an
amp; then I get amp;amp; or if I have anything else like quot; then I get
amp;quot;
Any ideas on how
How about you decode the string, and then encode it like so:
$decode = html_entity_decode($input);
$output = htmlentities($decode);
If you have the string
abamp;somethingblah
the decode will turn that into
absomethingblah
and then encode it into
abamp;somethingamp;blah
This can run into
Hello friends.
I was checking for creation of pdf document on the
server. But i was getting Call to undefined function:
pdf_new() in /home/andsales/public_html/sap/getpdf.php
on line 2.
Can anyone te;ll me a solution?
Is there some problem with compilation of PHP
with PDFLIB libraries?
Thanks
Hi there -
Is this possible :
How do i call the cookie value (surname) with Perl if it was set with PHP?
SAMPLE:
PHP Cookie set:
?
setcookie(surname, mc Seveney, time()+31536000, /,,0);
?
Need to call this cookie with a .pl extension file (perl)
thanks
August
--
PHP General Mailing
* Thus wrote Denis L. Menezes ([EMAIL PROTECTED]):
Hello friends.
I was checking for creation of pdf document on the
server. But i was getting Call to undefined function:
pdf_new() in /home/andsales/public_html/sap/getpdf.php
on line 2.
Can anyone te;ll me a solution?
Is there some
php-general Digest 27 Jul 2003 09:19:10 - Issue 2200
Topics (messages 157032 through 157057):
Is their a flash and php mailing list?
157032 by: Dan J. Rychlik
157039 by: zerof
Re: Half solved...what the @#%# is PHPSESSID?
157033 by: John W. Holmes
* Thus wrote TWSC HQ ([EMAIL PROTECTED]):
Hi there -
Is this possible :
How do i call the cookie value (surname) with Perl if it was set with PHP?
SAMPLE:
PHP Cookie set:
?
setcookie(surname, mc Seveney, time()+31536000, /,,0);
?
Need to call this cookie with a .pl extension
Here is my problem. When I send emails locally theough the Exchange Server
I have no problems sending mail. When I try to send emails to another site
through the MTA funtion_mail pops up. One of two things came to mind.
First is that we have anonymous forwarding of emails turned off for
Do I need to login into the server for this?
Ron Allen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Here is my problem. When I send emails locally theough the Exchange
Server
I have no problems sending mail. When I try to send emails to another
site
through the MTA funtion_mail
Hello
is it possible to find out the memory consumption on a php script ?
I trie to develop a chat with php and SHM and want to fiend out how
much memory is used to scale the chat server
BR/Torsten
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Can we know clients' hard disk number with a phpscript. If yes what is the
code?
Thank you.
_
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
--
PHP General Mailing List
Can we know clients' hard disk number with a phpscript. If yes what is the
code?
of course no, because php is running on the server ;)
--
Adrian
mailto:[EMAIL PROTECTED]
www: http://www.planetcoding.net
www: http://www.webskyline.de
--
PHP General Mailing List
Can we know clients' hard disk number with a phpscript. If yes what is the
code?
Thank you.
_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
--
PHP General Mailing List
Can we know clients' hard disk number with a phpscript. If yes what is the
code?
what do you mean by clients' hard disk number ?
you simply can't because PHP runs on the server-side, maybe you can know it
using javascript, but this - if it was available - will not be cross-browser
or
Torsten Rosenberger wrote:
is it possible to find out the memory consumption on a php script ?
I trie to develop a chat with php and SHM and want to fiend out how
much memory is used to scale the chat server
No, not now. I seem to remember talk about a function that would help
with this being
TWSC HQ wrote:
Is this possible :
How do i call the cookie value (surname) with Perl if it was set with PHP?
Yes, a cookie is still a cookie no matter where it's set. Ask on a Perl
list how you read cookies.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
KEN - 2mediaZone wrote:
(B I'm trying to find out how to get multiple values from text area box
(B textarea/textarea.
(B
(B Values are like this.
(B
(B aaa\n
(B bbb\n
(B ccc\n
(B ddd\n
(B eee\n
(B
(B I need to take "\n" from each value and put all the values to array.
(B
(BUse
A while ago, Philip Olson wrote:
As of 4.3.2, if you compile PHP with --enable-memory-limit
you may use memory_get_usage(). This is documented and
will show up when the next PHP manual is built.
This function is not documented in the PHP manual, but is in the zend copy:
I have some problem with uploading a file from my harddisk using a ftp connection.
Here are the 2 files:
test.php contains the form:
table
form method=get action=test2.php enctype=multipart/form-data
tr class=cen
tdTitlu gif/td
tdnbsp;::nbsp;/td
tdinput type=file name=util class=form1brinput
I have some problem with uploading a file from my harddisk using a ftp connection.
Here are the 2 files:
test.php contains the form:
table
form method=get action=test2.php enctype=multipart/form-data
tr class=cen
tdTitlu gif/td
tdnbsp;::nbsp;/td
tdinput type=file name=util class=form1brinput
Hi,
I want to find out if this is my browsers fault or the settings in my
php.ini, can you goto http://bestwebhosters.com/my.login.php then look at
the page source and tell me if there is a hidden variable after the form tag
with the name PHPSESSID
Thanks for helping.
Cheers,
-Ryan
--
PHP
Ryan,
I'm getting the PHPSESSID variable.
Chris
Quoting Ryan A [EMAIL PROTECTED]:
Hi,
I want to find out if this is my browsers fault or the settings in my
php.ini, can you goto http://bestwebhosters.com/my.login.php then look at
the page source and tell me if there is a hidden variable
Yes.
.
--
Peter James
[EMAIL PROTECTED]
php|architect
The Magazine for PHP Professionals
http://www.phparch.com
- Original Message -
From: Ryan A [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 27, 2003 8:34 AM
Subject: [PHP] small request
Hi,
I want to find out if this
I want to find out if this is my browsers fault or the settings in my
php.ini, can you goto http://bestwebhosters.com/my.login.php then look at
the page source and tell me if there is a hidden variable after the form
tag
with the name PHPSESSID
Yes.
Shaunak
--
PHP General Mailing List
I have some problem with uploading a file from my harddisk using a ftp connection.
Here are the 2 files:
test.php contains the form:
table
form method=get action=test2.php enctype=multipart/form-data
tr class=cen
tdTitlu gif/td
tdnbsp;::nbsp;/td
tdinput type=file name=util class=form1brinput
Okay, how do I make PHP 4.3.2. and MySQL 4.0.13 to agree on what null means?
I'm trying to get a form to add a new record into my database where one of
the
Fields might be null and for said field to actually be a null record once
into
The database as well...
This is the script in question (a
I have some problem with uploading a file from my harddisk using a ftp connection.
Here are the 2 files:
test.php contains the form:
table
form method=get action=test2.php enctype=multipart/form-data
tr class=cen
tdTitlu gif/td
tdnbsp;::nbsp;/td
tdinput type=file name=util class=form1brinput
Have you tried inserting it without including the id field in the insert
statement? I have several tables with auto increments and I never even
bother putting that field in the insert statement.
David
-Original Message-
From: Jonas Thorell [mailto:[EMAIL PROTECTED]
Sent: Sunday, July
Hi,
Just wanted to say thank you to all those who tested and replied.
Thank you.
Cheers,
-Ryan
- Original Message -
From: Shaunak Kashyap [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 27, 2003 4:35 PM
Subject: [PHP] Re: small request
I want to find out if this is my
Have you tried inserting it without including the id field in the insert
statement? I have several tables with auto increments and I never even
bother
putting that field in the insert statement.
Well, no. But that's not where the problem is. If I was unclear - the
id-field work as it should.
You're not giving us much to work with here. What's the actual problem?
Regardless, I can see a couple of thing wrong here.
1. You're trying to do a multipart/form-data transfer using GET. You need
to use POST.
2. Unless you've got register_globals on, and even if you do, you should be
Sorry, wrote wrong here so one more try.
Well, no. But that's not where the problem is. If I was unclear - the
id-field work as it should. It's when I try to use A variable in the
query-string the problem pops up.
IOW - INSERT INTO SITE (id,name,url,comment) VALUES
On Friday, July 25, 2003, 4:59:24 PM, Shaun wrote:
S thanks for your reply,
S but that doesn't seem to work either, how about removing everything after
S and including the ?, how would i do that?
try echo basename($_SERVER['PHP_SELF'])
Please trim your posts :)
--
Regards,
Burhan Khalid
On Sunday 27 July 2003 10:22, Rausch Alexandru wrote:
I have some problem with uploading a file from my harddisk using a ftp
connection. Here are the 2 files:
You don't upload local files using the ftp_*() functions. You follow the
examples in manual Handling file uploads.
--
Jason Wong -
Actually that's my bad. That's what I get for doing a hundred other things
while I'm reading my email. Sorry. I really don't know why null would be
different under PHP and mysql; I'm not even sure it is. Right now I'm
reloading my server due to a lighting hit (REALLY REALLY bad storms), so I
read www.php.net/variables.scope
Eric Fleming wrote:
I am having some problems using variables in included files. Can someone
please look at my code below and see how I might accomplish what I am trying
to do?
?php
$subnav = home;
include(incHeader.php);
?
!--- CONTENT AREA ---
The content
* Thus wrote Jonas Thorell ([EMAIL PROTECTED]):
Sorry, wrote wrong here so one more try.
Well, no. But that's not where the problem is. If I was unclear - the
id-field work as it should. It's when I try to use A variable in the
query-string the problem pops up.
IOW - INSERT INTO SITE
Peter James wrote:
A while ago, Philip Olson wrote:
As of 4.3.2, if you compile PHP with --enable-memory-limit
you may use memory_get_usage(). This is documented and
will show up when the next PHP manual is built.
This function is not documented in the PHP manual, but is in the zend copy:
Hi all,
I have a webserver using Ensim, some of you may or may not know of it. PHP
is installed and Apache is using PHP as a module. The server also has the
php binary. I would liek to recompile the current PHP Binary
using --with-pcntl and whatever it was originally compiled with
How do
On Monday 28 July 2003 01:26, David Goodchild wrote:
I have a webserver using Ensim, some of you may or may not know of it. PHP
is installed and Apache is using PHP as a module. The server also has the
php binary. I would liek to recompile the current PHP Binary
using --with-pcntl and
Hi everyone,
Just in case you or anybody in the future (maybe reading the archive) come
accross the same problem here is how i have solved it and made all my
scripts run perfectly again as they were before.
I just created a .htaccess file and added these 2 lines since i dont have
direct access to
On Saturday, July 26, 2003, at 03:06 AM, Nikhil G. Daddikar wrote:
I am using PHP to develop and web app.
The app also has a scripting language for the *end user*. I was
thinking if I could expose a very simple subset of PHP to them
(foreach, if-then-else, variable assignments and comments)
Thank-you,
How do i recompile it with : --with-pcntl though? This is what i need to
add as soon as i can. I tired looking for the pcntl.so file but i cant find
that either.
Jason Wong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Monday 28 July 2003 01:26, David Goodchild
I think it's pretty standard. It just means that you can control how much
memory your script uses.
--
Peter James
[EMAIL PROTECTED]
php|architect
The Magazine for PHP Professionals
http://www.phparch.com
- Original Message -
From: John W. Holmes [EMAIL PROTECTED]
To: Peter James
The Revolutionary Book
Your Boss Doesn't Want You to Read !
Does an extra $500 to $1000 a week sound exciting?
HINT: It's not what you think
Dear Friend:
Everybody is looking to make more money online, but the biggest problem
is that VERY few things actually work.
We have an exclusive
oh fuck you, damn spammer...
i hope someone hacks your damn spam server...
The Revolutionary Book
Your Boss Doesn't Want You to Read !
Does an extra $500 to $1000 a week sound exciting?
HINT: It's not what you think
Dear Friend:
Everybody is looking to make
dammit!!! the link doesn't work... i was REALLY excited to find out what my
boss doesn't want me to know!!!
it's also reassuring to know (reading at the bottom) that this is NOT
SPAM!!! i feel safe knowing that this isn't actually spam, and that all
members of this list actually requested this
On Monday 28 July 2003 01:54, David Goodchild wrote:
Please do not top-post!
How do i recompile it with : --with-pcntl though? This is what i need to
add as soon as i can. I tired looking for the pcntl.so file but i cant
find that either.
What _exactly_ are you having problems with? And
On Monday 28 July 2003 02:14, skate wrote:
dammit!!! the link doesn't work... i was REALLY excited to find out what
my boss doesn't want me to know!!!
it's also reassuring to know (reading at the bottom) that this is NOT
SPAM!!! i feel safe knowing that this isn't actually spam, and that all
Jason Wong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Monday 28 July 2003 01:54, David Goodchild wrote:
Please do not top-post!
How do i recompile it with : --with-pcntl though? This is what i need
to
add as soon as i can. I tired looking for the pcntl.so file but i
On Sun, 27 Jul 2003 20:13:22 +0100 [EMAIL PROTECTED] (David Goodchild) wrote:
My exact problem is this: I do not know how to recompile an already
installed PHP binary with the option --with-pcntl ...
You can't recompile a binary, you compile a new version with the compile-options
of your old
Hi
First time on the list and this may be a silly question. I'm developing a site
that uses sessions. I have enabled cookies and checked that a valid cookie
with the appropriate session id is being set. However, I've noticed that
links in my pages are getting the sessionid added as a GET
--- Nicholas Robinson [EMAIL PROTECTED] wrote:
I've noticed that links in my pages are getting the sessionid
added as a GET parameter.
The session.use_trans_sid directive is enabled in your php.ini. Disable it if
you do not want this behavior.
Hope that helps.
Chris
=
Become a better Web
php-general Digest 27 Jul 2003 21:42:12 - Issue 2201
Topics (messages 157058 through 157104):
Re: Set Cookie in PHP and call with Perl
157058 by: Curt Zirzow
157067 by: John W. Holmes
Mail or Authentication or redirection of SMTP
157059 by: Ron Allen
157060
Windows or linux?
Under windows you need like visual studio to compile it... But how to add
parameters there is not my area...
--
// DvDmanDT
MSN: [EMAIL PROTECTED]
Mail: [EMAIL PROTECTED]
David Goodchild [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
Hi all,
I have a webserver
Hi Everone, I had a question about PHP and Flash. I have a navbar buttons
that I made in Flash MX, but the PHP script I want it to be displayed for is
an auto-generated photoalbum, so the Next and Previous buttons have need
to change meaning at every pageload. I was wondering if there is a way to
This is not spam.
Please stop responding to spam with spam! And if you really cannot resist the
urge to respond at least have the courtesy to trim your response so that we
don't have to see the spam over and over again.
*/
--
PHP General Mailing List (http://www.php.net/)
To
Hi Everone, I had a question about PHP and Flash. I have a navbar buttons
that I made in Flash MX, but the PHP script I want it to be displayed for
is
an auto-generated photoalbum, so the Next and Previous buttons have
need
to change meaning at every pageload. I was wondering if there is a
* Thus wrote Paul McNally ([EMAIL PROTECTED]):
This is not spam.
I beg to differ. spam has many different meanings one of them is:
Any large, annoying, quantity of output.
Please stop responding to spam with spam! And if you really cannot resist the
urge to respond at least have the
Hi,
I am trying to get my data into a very similar layout as this:
http://hostfilter.com/ComparePlan.asp?IntVal1=389IntVal2=546IntVal3=605
see the table with the plans...how is he getting that in one table? what
kind of logic is that? the best I can do is for each column I have to use
another
Many thanks, that's fixed it!
On Sunday 27 Jul 2003 10:42 pm, Chris Shiflett wrote:
--- Nicholas Robinson [EMAIL PROTECTED] wrote:
I've noticed that links in my pages are getting the sessionid
added as a GET parameter.
The session.use_trans_sid directive is enabled in your php.ini. Disable
ASP merely outputs HTML. His table is basic HTML dynamically rendered
perhaps by an ASP component. This is also trivial to do in PHP.
Cheers,
Rob.
On Sun, 2003-07-27 at 18:38, Ryan A wrote:
Hi,
I am trying to get my data into a very similar layout as this:
* Thus wrote Ryan A ([EMAIL PROTECTED]):
Hi,
I am trying to get my data into a very similar layout as this:
http://hostfilter.com/ComparePlan.asp?IntVal1=389IntVal2=546IntVal3=605
see the table with the plans...how is he getting that in one table? what
kind of logic is that? the best I can do
Hi All,
I have a dilemma where I have to include a form found in a .aspx page into a
php page -
The form is an ADSL phone check (checks to see if ADSL is available based
upon phone number).
I need to send the form some basic variables and get the response into my
PHP page
The form -
Hi,
Thanks for replying.
You say: Nothing special html wise.
then can you tell me how its done?
The content is dynamic being pulled from the database..how do i get it in
one table in that layout?
There are different ways you can do this it could help to know what
kind of data structure you
Hi people, I made a system in PHP wich uses sessions. While I'm testing the
system some times the session finishes unexpectedly. Some times the system
works during one hour without problems but other times the system finishes
after five minutes and return to the login page.
I think that the
* Thus wrote Paul Fitz ([EMAIL PROTECTED]):
Hi All,
Hello.
I have tried the bellow with no success
(firstly I use a form in one of PHP pages gathering the same $_POST variable
names as the .aspx form, then send it to the below action page)-
I have also tried sending the variables as
* Thus wrote Tomás Liendo ([EMAIL PROTECTED]):
Hi people, I made a system in PHP wich uses sessions. While I'm testing the
system some times the session finishes unexpectedly. Some times the system
works during one hour without problems but other times the system finishes
after five minutes
* Thus wrote Ryan A ([EMAIL PROTECTED]):
Hi,
Thanks for replying.
You say: Nothing special html wise.
then can you tell me how its done?
The content is dynamic being pulled from the database..how do i get it in
one table in that layout?
There are different ways you can do this it
You say: Nothing special html wise.
then can you tell me how its done?
there's some nice simple CSS behind it to give the nice border and colour
changes, but yes, nothing special HTML wise. it's a simple table
The content is dynamic being pulled from the database..how do i get it in
one
Hi,
Thanks for replying.
no probs...
I have not worked with arrays much other than simple arrays like the $_get
or $_post and the database ones...can you give me a another emample on how
to do this please?
like how to put my db into an array and then call each part
sorry, i'm
Hey,
Thanks again.
It should take me around an hour or two just to figure out what you
wrote...:-D
I guess i have to hit the manual quite a bit.
Thanks,
-Ryan
Hi,
Thanks for replying.
no probs...
I have not worked with arrays much other than simple arrays like the
$_get
or $_post
* Thus wrote Ryan A ([EMAIL PROTECTED]):
Hi,
Thanks for replying.
You say: Nothing special html wise.
then can you tell me how its done?
The basic logic is like this:
table
foreach option_of_hosting_service
tr
tdname_of_service/td
foreach hosting_company_service
Hi,
After asking for help on the list Skate gave me the following code as an
example:
**
$n = 0;
$result = mysql_query( SELECT id, title, text, date FROM news ORDER BY date
DESC );
while ($rows = mysql_fetch_array($result)) {
if( $rows == ){ continue; }
extract( $rows );
How can I get the local Computer IP Address when running PHP program in
Windows command line (i.e. php getmyip.php)
** Since the PHP did not are run on Webserver, so _SERVER[SERVER_ADDR]
won't work.
Many thanks in advance.
Regards,
Chris
--
PHP General Mailing List (http://www.php.net/)
To
How can I get the local Computer IP Address when running PHP program in
Windows command line (i.e. php getmyip.php)
** Since the PHP did not are run on Webserver, so _SERVER[SERVER_ADDR]
won't work.
Many thanks in advance.
Regards,
Chris
--
PHP General Mailing List (http://www.php.net/)
To
On Monday 28 July 2003 03:13, David Goodchild wrote:
My exact problem is this: I do not know how to recompile an already
installed PHP binary with the option --with-pcntl ...
1) Download the php source
2) Extract, and change into the extracted directory
3) Figure out what the existing php
Hi,
Monday, July 28, 2003, 12:21:06 PM, you wrote:
CL How can I get the local Computer IP Address when running PHP program in
CL Windows command line (i.e. php getmyip.php)
CL ** Since the PHP did not are run on Webserver, so _SERVER[SERVER_ADDR]
CL won't work.
CL Many thanks in advance.
CL
Hi all- how do I modify the following function to work over a proxy server?
Thanks for any help.
David
/* sendToHost
* ~~
* Params:
* $host - Just the hostname. No http:// or
/path/to/file.html portions
* $method- get or post, case-insensitive
*
On Monday 28 July 2003 10:19, Ryan A wrote:
After asking for help on the list Skate gave me the following code as an
example:
**
$n = 0;
$result = mysql_query( SELECT id, title, text, date FROM news ORDER BY
date DESC );
while ($rows = mysql_fetch_array($result)) {
if( $rows
I'm creating a script that filters the table of results from a database based on the
configuration set by the user (config stored in database as well).
For example a table has 30 columns. However the user need only see 5. Every user is
different so a user configuration is stored in the
Something like so:
/* sendToHost
* ~~
* Params:
* $proxy - Proxy you want to use
* $host - Just the hostname. No http:// or
/path/to/file.html portions
* $method- get or post, case-insensitive
* $path - The /path/to/file.html part
*
84 matches
Mail list logo