Most likely, you're using some HTML that AOL doesn't like. It's
definitley a client-side issue, in any case.
rml wrote:
I have recently created a site that has some PHP in it. It works fine in
all browsers except AOL. I can see some of the PHP page in AOL except the
one that fetches
Hi Justin--
I've been wrestling with a similar problem.
You say:
I'm considering:
a) storing this data in a MySQL table (a fairly simple
query) b) storing this data in a pseudo XML format like:
id24/id
authorJustin French/author
author_email[EMAIL PROTECTED]/author_email
Ah, how clear things are afterwards. :) I found out my problem was
that PHP was looking in the wrong folder for php.ini, and it apparently
fails silently, taking the default settings instead.
- Steve Yates
- A chicken is just an egg's way of continuing the species.
~ Taglines by
./PARTIAL SNIP/.
converting number of minutes into
/hours
# of mins in an hour = 60
/days
# of minutes in a day = 1440
/weeks
# of minutes in a week = 10080
/monthes
# of minutes in a month Feb non leap= 282240
Is it posable to execute multiable queries at one time, so that I can switch
tables and switch back with ease?
I've been trying for a while to figure out a way of doing this, but with no
luck.
Any help would be appreciated.
Thanks.
- Ben
I have a error page in shtml (must stay that way)
but I have a cool one page php script, that acts as a
errorpage generator...and a automatic email of all errors
to admin...script...
in order to make it work correctly...
an .htaccess file must be in
the public_html root...
with the following
Total newb question... lol, but how do I get this to work with a form...
lol, very embarasing to ask this...
Leif K-Brooks [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
The following function converts minutes to years, monthes, weeks, days,
hours, minutes. For instance, 61 minutes
hi all
i'm a beginner in php
can anyone help me about useful and powerful editors in php?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You can also use regular expressions.
Here is an example :
How to extract a string from a bigger string or from an HTML block with
regex and PHP
http://examples.weberdev.com/get_example.php3?count=3167
Sincerely
berber
Visit http://www.weberdev.com/ Today!!!
To see where PHP might take you
i use homesite usually but have been helping the php edit guys
www.phpedit.net
-Original Message-
From: M-Ali Mahmoodi [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 14, 2003 4:27 PM
To: [EMAIL PROTECTED]
Subject: [PHP] php editor?
hi all
i'm a beginner in php
can anyone help me about
And example script i'm trying to use is below:
$result2 = mysql_query($sql2);
$row2 = mysql_fetch_array($result2);
$sql = SELECT * FROM main WHERE id=$id;
$result = mysql_query($sql);
$row = mysql_fetch_array($result);
Ben Houlton [EMAIL PROTECTED] wrote in message
Good Morning,
Hopefully I'm not asking questions that are too basic. I am new to this list
and new to PHP. If my questions are too basic please let me know and I'll
direct them elsewhere.
I'm at a very basic level with PHP. I'm working with form data and sending
the information out in
Got it! Thanks...
-Original Message-
From: gregory landry [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 14, 2003 6:23 AM
To: PHP Mail List
Subject: [PHP] Mail() and html
Good Morning,
Hopefully I'm not asking questions that are too basic. I am new to this list
and new to PHP. If my
The best PHP editor I know is Zend Studio. This is a real good editor with
debugging, highlighting and very good code complete.
M-Ali Mahmoodi [EMAIL PROTECTED] ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ
ÓÌÅÄÕÀÝÅÅ: news:[EMAIL PROTECTED]
hi all
i'm a beginner in php
can anyone help me about useful and
Hello,
I just installed php/mysql on my windows machine, now when I try to run
a script I get this:
Use of undefined constant s_UID - assumed 's_UID' in
c:\inetpub\wwwroot\php_test\inc\session.php
And then some Undefined variable: s_UserInfo.
Any thought why could this be? Thanks.
James.
--
Ensure that you have a die; after the Header() line.
Neil
deno vichas wrote:
***
This Message Was Virus Checked With : SAVI 3.70 June 2003
Last Updated/Checked 12th June 2003
Hello,
I found one minimalistic BBcode script, but it doesnt work.
Warning: Unknown modifier '1' in f:\_php\_f\bb-code\test.php on line 32
line 32 is such:
$t = preg_replace_callback( '/[('.$atag.')(=(.*))?](.*)[/1]/isU', 'nc', $s);
How to get work it?
Source is only 40
I love that subject line... All I could think was, of course... Sorry,
couldn't resist that.. ;-)
On Sat, 2003-06-14 at 08:02, James Stanley wrote:
Hello,
I just installed php/mysql on my windows machine, now when I try to run
a script I get this:
Use of undefined constant s_UID -
Hi,
I am using Header(Location:http://www.mysite.com/mypage.php;); to do a
browser redirect. This works fine. The problem though is that doing this
adds a page to the browser's window.self.history() collection.
Is there any way that I can do a PHP Header() statement that does the
equivalent
-Original Message-
From: Neil Freeman [mailto:[EMAIL PROTECTED]
Is there any way that I can do a PHP Header() statement that does the
equivalent of JavaScript's
window.self.location.replace(http://www.mysite.com/mypage.php;)?
No. JavaScript (if turned on) is your only choice.
I am experiencing some weird problems with PHP. When I execute the following
query from within a PHP script, the description is set to 'EBCO' and not
'EBCO\030774-006\BUBBLER VALVE'. When I execute this query from the mysql
monitor the value is inserted correctly.
$query = update the_table
Hi,
I have been reading up on the old discussions on this list as i was very
busy for the past few daysand i saw a very intresting topic regarding
sessions and security.
I really didnt understand some of the things you guys wrote on hi-jacking a
session...do you have any examples of this?
How
Hey,
truth is unless it has a header with something about Bounce-to: spammer or
the From address is actually correct, it never gets to the spammer. what
spamers use now are spy images or javascripts, html content with an image
that includes an id with it so that when the person views the
I have a line of code in my form that I am trying to get to work.
$action = ($HTTP_POST_VARS['action'] == data_input) ? check : display;
I recieved undefined action when running. So I did this.
$command = isset($HTTP_VARS['action'] == data_input) ? check : display;
I recieve unexpected
Anyone know where I can get a better step by step how to for installation of PHP with
DOM,
XSLT, and XPATh support on Red Hat? PHP.NET is not so hot...
/T
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
James E Hicks III wrote:
I am experiencing some weird problems with PHP. When I execute the following
query from within a PHP script, the description is set to 'EBCO' and not
'EBCO\030774-006\BUBBLER VALVE'. When I execute this query from the mysql
monitor the value is inserted correctly.
$query =
$command = isset($HTTP_POST_VARS['action'] and $HTTP_POST_VARS['action'] == data_input) ? check : display;
Daniel J. Rychlik wrote:
I have a line of code in my form that I am trying to get to work.
$action = ($HTTP_POST_VARS['action'] == data_input) ? check : display;
I recieved undefined
\0 is a NULL character, IIRC. Either use single quotes:
echo ('EBCO\030774-006\BUBBLER VALVE');
or use two slashes, like you did above:
echo (EBCO\\030774-006\\BUBBLER VALVE);
---John Holmes...
Problem is that this description is coming from a DB, that's
why I was trying to use addslashes,
On Sat, 14 Jun 2003 08:02:57 -0400, you wrote:
I just installed php/mysql on my windows machine, now when I try to run
a script I get this:
Use of undefined constant s_UID - assumed 's_UID' in
c:\inetpub\wwwroot\php_test\inc\session.php
And then some Undefined variable: s_UserInfo.
Any
I recieved a unexpected T_LOGICAL_AND, expecting ',' or ')';
- Original Message -
From: Leif K-Brooks [EMAIL PROTECTED]
To: Daniel J. Rychlik [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, June 14, 2003 10:22 AM
Subject: Re: [PHP] $command actions
$command =
Whoops!
$command = isset($HTTP_POST_VARS['action']) and $HTTP_POST_VARS['action'] == data_input) ? check : display;
Daniel J. Rychlik wrote:
I recieved a unexpected T_LOGICAL_AND, expecting ',' or ')';
- Original Message -
From: Leif K-Brooks [EMAIL PROTECTED]
To: Daniel J.
It worked! thanks so much. I did however place another ( on the second
$HTTP_POST_ to make it function with out error.
Appreciate your time!
dan
- Original Message -
From: Leif K-Brooks [EMAIL PROTECTED]
To: Daniel J. Rychlik [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, June
Hi i made a tutorial on how to compile php, expath, libxml, sablotron
It works well for me. I ran into many probleme so i made an faq page
where all errors are listed with an explanation, solution.
If anybody encounter other errors i will put them there too.
I compile on Suse 8.2 but i dont
ok heres the scenerio:
php.ini:
[Java]
java.class.path = C:\apache\php\JAVA\php_java.jar;c:\apache\htdocs\ktest\;.
java.home = C:\j2sdk1.4.1_01\bin\
java.library = C:\j2sdk1.4.1_01\jre\bin\server\jvm.dll
java.library.path = C:\apache\php\extensions\;C:\apache\php\;.\
the PHP source code:
?
On Jun 14, 2003, Ryan A claimed that:
|Hi,
|I have been reading up on the old discussions on this list as i was very
|busy for the past few daysand i saw a very intresting topic regarding
|sessions and security.
|
|I really didnt understand some of the things you guys wrote on hi-jacking a
On Jun 14, 2003, M-Ali Mahmoodi claimed that:
|hi all
|i'm a beginner in php
|can anyone help me about useful and powerful editors in php?
vi
--
Registered Linux user #304026.
lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import
Key fingerprint = 52FC 20BD 025A 8C13 5FC6
John Hicks wrote:
Hi Justin--
I've been wrestling with a similar problem.
You say:
I'm considering:
a) storing this data in a MySQL table (a fairly simple
query) b) storing this data in a pseudo XML format like:
id24/id
authorJustin French/author
author_email[EMAIL
Hmmm. As I thought. Thanks anyway Mark.
Neil
Mark Charette wrote:
***
This Message Was Virus Checked With : SAVI 3.70 June 2003
Last Updated/Checked 12th June 2003
hi
--- electroteque [EMAIL PROTECTED] wrote:
hi there , i am about to build a shopping cart which
will interact with a
paypal payment system , the cart will use sessions
to store the items and
basket information before checking out and posting
to the paypal form , what
i'd like to know is
Hello,
I am developing a network application. But I need to distribute it to
different divisions.
I am looking for Ideas for Securing Source Code from User.
Please Help!
Suhas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
php-general Digest 14 Jun 2003 17:49:27 - Issue 2117
Topics (messages 151460 through 151499):
Re: AOL and PHP
151460 by: Leif K-Brooks
Re: which is quicker? XML or database?
151461 by: John Hicks
151496 by: Robert Cummings
Re: Zend Optimizer not active?
Hello, I was wondering how to write a DLL that I can use from
php_w32api.dll? I want to get the memory usage using this code:
###
dl(php_w32api.dll);
$api = new win32;
$api-definetype(MEMORYSTATUS {
long dwLength;
long dwMemoryLoad;
long
On Saturday 14 June 2003 21:53, DZ wrote:
I found one minimalistic BBcode script, but it doesnt work.
Wouldn't it be better to find some code which *did* work?
Warning: Unknown modifier '1' in f:\_php\_f\bb-code\test.php on line 32
line 32 is such:
$t = preg_replace_callback(
boy how painfully dweebish is vi why make it harder for yourself :O
-Original Message-
From: Jeff Harris [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 15, 2003 2:48 AM
To: M-Ali Mahmoodi
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] php editor?
On Jun 14, 2003, M-Ali Mahmoodi claimed that:
possibly not free though ?
-Original Message-
From: Aliaksei Kurets [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 14, 2003 9:15 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: php editor?
The best PHP editor I know is Zend Studio. This is a real good editor with
debugging, highlighting and
Not free... hmmm (this is very argue point :)))
Electroteque [EMAIL PROTECTED] ???/ ?
?: news:[EMAIL PROTECTED]
possibly not free though ?
-Original Message-
From: Aliaksei Kurets [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 14, 2003 9:15 PM
To: [EMAIL
Hi all,
So I was under the impression that an HTML form SELECT MULTIPLE item would
return an array with all of the selected items. This array can then be used
with any of the standard PHP array functions, yes?
I have 1 HTML page that seems to work fine... However, another page that is
nearly
You need to name it formfield[], not formfield.
Noel Wade wrote:
Hi all,
So I was under the impression that an HTML form SELECT MULTIPLE item would
return an array with all of the selected items. This array can then be used
with any of the standard PHP array functions, yes?
I have 1 HTML page
Its the littlest things that kill ya Thanks a ton!
As a side note, I definitely do NOT have the brackets on the working page -
so its an undefined feature (or bug) that numerical-value SELECT MULTIPLE
variables post as an array to PHP.
Take care, and thanks again!
--Noel
- Original
Because some of us, work directly on the server, instead of modifying
files, then uploading to the server to test :)
electroteque wrote:
boy how painfully dweebish is vi why make it harder for yourself :O
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Sat, 2003-06-14 at 12:59, electroteque wrote:
boy how painfully dweebish is vi why make it harder for yourself :O
Please don't start this again. If you want arguments about editors just
read the old ones in the archives. It's highly unlikely that any useful
new arguments will be made if we
James E Hicks III wrote:
\0 is a NULL character, IIRC. Either use single quotes:
echo ('EBCO\030774-006\BUBBLER VALVE');
or use two slashes, like you did above:
echo (EBCO\\030774-006\\BUBBLER VALVE);
---John Holmes...
Problem is that this description is coming from a DB, that's
why I was
How do you manually unserialize session data? Using unserialize() on
session data from a sessions table is not working for me.
I have modified the gc function of my MySQL session handler to save
data from expired session records to another table,
'sessions_saved'. I can get the session data
I'm having a bit of a formatting issue, and I was wondering if someone
might have an idea on how to solve it. Basically what I have right now
is a script that opens and reads the content of an image directory, each
time the script is accessed it writes the contents out to a text file
for me. I
with the proper line breaks:
$dat=$_GET[gallery].dat;
$file=fopen($dat, 'r');
$contents = fread ($file, filesize ($dat));
fclose($file);
$img=explode(|,$contents);
print table width=50% cellpadding=0 cellspacing=3 border=0;
foreach($img as $image) {
if($image) print trtda href=$imageimg
now theres a sadistic way to code! I used to use vi... to be honest I like
it. but on a windows platform crimson editor works well.
Gerard Samuel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Because some of us, work directly on the server, instead of modifying
files, then
Hi,
I'm setting up a simple tracking program for a website I'm working
on. Currently it records a visitors IP address, but I would like to be
able to do a DNS lookup of these IP addresses. Is this possible with PHP
and if so, how is it done? I've been looking through Google, and the very
$_SERVER[REMOTE_HOST];
This will do a reverse lookup on their IP.
Manual Link:
http://ca3.php.net/manual/en/reserved.variables.php#reserved.variables.server
Hope it helps
Tim Thorburn wrote:
Hi,
I'm setting up a simple tracking program for a website I'm working
on. Currently it records a
Ok, I solved the problem by calling GlobalMemoryStatus() inside the DLL and
then using references to the PHP variables... Some things I noticed during
this playing:
- It seems like this code doesn't set the values of $a:
$a=$api-InitType(MEMORYSTATUS);
$api-GlobalMemoryStatus($a);
or php
Why not just use PICO?
Kevin Ison wrote:
now theres a sadistic way to code! I used to use vi... to be honest I like
it. but on a windows platform crimson editor works well.
Gerard Samuel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Because some of us, work directly on the
personnaly I kind of grew up on vi many many moons ago
Tom Ray [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Why not just use PICO?
Kevin Ison wrote:
now theres a sadistic way to code! I used to use vi... to be honest I
like
it. but on a windows platform crimson editor works
Having a bit of trouble with my forms returnin 1 in the form fields accept the data
that was entered. I think its because of this line,
$output_fname = isset($HTTP_POST_VARS['fname']);
I have a command action handler also that works in the same script and it seems to
work well, the only
On Sat, 2003-06-14 at 14:38, Tom Ray [Lists] wrote:
$_SERVER[REMOTE_HOST];
This will do a reverse lookup on their IP.
Manual Link:
http://ca3.php.net/manual/en/reserved.variables.php#reserved.variables.server
Actually, this isn't true. $_SERVER['REMOTE_HOST'] will contain the
hostname of
JH are associated with a specific id. First, URLs carrying session ids. If
JH you link to an external site, the URL including the session id might be
JH stored in the external site's referrer logs. Second, a more active
JH attacker might listen to your network traffic. If it is not encrypted,
JH
I have tested quite a few editors since i came to php as notepad started to
p1ss me off after some time...
I have never really touched vi so cant say much about that but I think Zend
is pretty good (ill even dare say better) compared to the others(homesite,
phpedit,editplus etc)
you DO get only a
I reccomend you don't talk about cracking Zend software on a list owner
by Zend...
Ryan A wrote:
but you can make it a free version if you
want ;-p
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt
to decrypt it will be prosecuted to the full extent of the
What can i say?
if you aint living on the edge you're taking up too much space
I reccomend you don't talk about cracking Zend software on a list owner
by Zend...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://us3.php.net/manual/en/function.session-decode.php
Andrew Warner wrote:
How do you manually unserialize session data? Using unserialize() on
session data from a sessions table is not working for me.
I have modified the gc function of my MySQL session handler to save
data from expired
Ryan A wrote:
What can i say?
if you aint living on the edge you're taking up too much space
I reccomend you don't talk about cracking Zend software on a list owner
by Zend...
Living on the edge is one thing. Biting the hand that feeds you is another.
As for the topic on hand, for
If you read what i originally wrote you will see that I recomend buying
zend, I didnt give directions/info to crack anything (as i dont know how to
crack in the first place), if you can afford it compared to all the editors
i have tried zend is the best.
Besides,did I say something that we all
Why is my script autopopulating a 1 in the field names and not the orginal
values ?
Is it something to do with this statement ?
$output_fname = isset($HTTP_POST_VARS['fname']);
Im declaring the var and using it in value field in my form. I know that I
missing something. Its returning true when
Hi .. i got a problem to restart my apache (2.0.46) server on my linux
system after i installed PHP 4.3.2.
I get this message:
[EMAIL PROTECTED]:/usr/local/apache2/bin/ ./apachectl restart
Syntax error on line 232 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/libexec/libphp4.so into
err to be exact i map my directories with samba and edit straight onto the
server that way :O
-Original Message-
From: Kevin Ison [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 15, 2003 7:33 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] php editor?
now theres a sadistic way to code! I used
$output_fname = (isset($HTTP_POST_VARS['fname'])) ? $HTTP_POST_VARS['fname']
: '';
but the value WILL be set regardless... in this case i'd prefer:
if(isset($HTTP_POST_VARS['fname'])) { $output_fname =
$HTTP_POST_VARS['fname']; }
alternatively, I wrote a nice function to pluck out $_POST vars
One thing that works well for me (editor aside) is creating a staging server
(staging.domain.com) and doing all edits there. Then when everything is just
the way you want it, I have a script that copies everything from the staging
site to the live site.
It prevents having to work on your live
this is exactly what i do , edit through samaba on a development server then
cvs up to the live server
-Original Message-
From: Mike [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 15, 2003 12:02 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] php editor?
One thing that works well for me
Hello,
On 06/14/2003 02:49 PM, Suhas Pharkute wrote:
I am developing a network application. But I need to distribute it to
different divisions.
I am looking for Ideas for Securing Source Code from User.
What you need is an encoder like Turck. It is an extension that stored
compiled PHP code in
On Jun 14, 2003, olinux claimed that:
|hi
|
|--- electroteque [EMAIL PROTECTED] wrote:
| hi there , i am about to build a shopping cart which
| will interact with a
| paypal payment system , the cart will use sessions
| to store the items and
| basket information before checking out and posting
|
Hi!
I'm trying to sort an array with strings containing swedish characters.
However, the sort order is wrong.
The following code produces abäåö while it should be abåäö.
$list = array(ö, ä, a,å,b);
setlocale(LC_ALL,se_SE.ISO8859-1);
usort($list, 'strcoll');
for($i=0;$icount($list);$i++) {
yes i know about that but then the whole basket/cart system is out of your
hands i prefer to send the total with the products and quantities or can you
not do that ? if not i guess adding the individual items to their basket is
the only way the IPN system is confusing aswell :|
-Original
I'm using windows me, server apache 1.3 for php.
I had wrote this code and tried it at local host, but the php code didn't work. The
code is like this:
?
$Greet = Hello World
$Today = date(l F d, Y);
?
html
body
Today's date is
?
print($Today\n);
print($Greet);
?
/body
/html
Istead of print
81 matches
Mail list logo