Hi David,
Thanks for the reply.
I am aware of this 'browser' issue but it seems that it's not the case.
I'll look again but since I do not use tables only divs/css I am running out
of option on the html site.
On 1/22/06, David Tulloh [EMAIL PROTECTED] wrote:
The browsers use a whole bunch of
Hi,
OK. I have many answers about managing sessions and I thank everyone.
The best solution seems to be the inclusion of a file...
But, I have just another question about all the options I have to put in
this file... Is it necessary to do all of this (sorry for my
commentaries which are in
Henrik Gemal wrote:
I have an object that looks like this:
Test Object
the class Test must implement 'Iterator'
e.g.
class Test implements Iterator
{
/*
* Iterator methods
*/
public function rewind(){}
public function current(){}
public function valid(){}
Hi,
It's me again. I have take a look on
http://www.geckotribe.com/php-telnet/ , but I think the codes are not
friendly to me. So I create my own telnet class for my program. I'm
going to post it here for reference. But it is made just for my program
so you may have difficulty when you try to
Hello together,
how can i activate php with mysql.
At the moment my php info told me, without mysql.
I have installed it with apt-get install php4 php4-mysql
I have also debian sarge version.
Can somebody help me?
Thanks
marcus
Markus,
Markus Braun wrote:
I have installed it with apt-get install php4 php4-mysql
I think you'll need libapache-mod-php4 too (p.d.o is down at the moment,
so can't be sure), as well as the mysql-server and mysql-client packages.
David
--
David Grant
http://www.grant.org.uk/
I think you'll need libapache-mod-php4 too (p.d.o is down at the moment,
so can't be sure), as well as the mysql-server and mysql-client packages.
The output of libapache2-mod-php4 is:
Reading Package Lists...
Building Dependency Tree...
libapache2-mod-php4 is already the newest version.
0
On 1/23/06, Vedanta Barooah [EMAIL PROTECTED] wrote:
hello all,
this is in regard to PECL ssh2 ( http://pecl.php.net/package/ssh2 ) : how
to i print the output of the command executed using ssh2_exec?
thanks,
vedanta
--
*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*
Vedanta Barooah
YM! -
Markus,
Markus Braun wrote:
libapache2-mod-php4 is already the newest version.
mysql-server is already the newest version.
mysql-client is already the newest version.
That should be all you need then. Have you restarted apache yet?
David
--
David Grant
http://www.grant.org.uk/
Vedanta,
I recommend contacting the author of the package, or posting to pecl-dev.
David
Vedanta Barooah wrote:
On 1/23/06, Vedanta Barooah [EMAIL PROTECTED] wrote:
hello all,
this is in regard to PECL ssh2 ( http://pecl.php.net/package/ssh2 ) : how
to i print the output of the command
I want to setup a search box that will search all the filenames in a
given directory for the keyword provided by the user and display all the
files that have that keyword? how would I do this? at least the
searching part?
~Nick Couloute
co-owner/Web Designer
Sidekick2Music.Com
--
PHP
Nicholas Couloute wrote:
I want to setup a search box that will search all the filenames in a
given directory for the keyword provided by the user and display all the
files that have that keyword? how would I do this? at least the
searching part?
~Nick Couloute
co-owner/Web Designer
Hi,
I have a very long timeout when i try to use the news.php.net server.
moreover, my posted messages are not displayed.
Could someone help me please ?
thanks a lot,
Alain
Hi
I would like to know how i would hide my index page so that it is not shown
at the end of the url like how gmail does it and many cms do it ..
And what is it called when one does this ..
Thank you
--
Gregory Machin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.linuxpro.co.za
www.exponent.co.za
Web
Gregory Machin wrote:
Hi
I would like to know how i would hide my index page so that it is not shown
at the end of the url like how gmail does it and many cms do it ..
And what is it called when one does this ..
Thank you
--
Gregory Machin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.linuxpro.co.za
Hi,
I would like to write a secured logon page but i do not have any idea where
to start...
i've alreay setup my Apache server for using SSL, but what about the PHP
code ? with or without cookie ? crypted or not ?
please, could you give me some good tutorial or web page where i can find
such
robert mena wrote:
Hi,
I am facing a strange problem. My site, even tough designed to appear
quickly at user's browser, appears at once. If I test the static HTML
version it starts to appear as downloaded If I test the php generated
version the page seems render as a whole.
I am using
That should be all you need then. Have you restarted apache yet?
yes with the command:
/etc/init.d/apache2 restart
Must i compile php new? or reconfigure it?
I try to install the script gallery. Do you know this?
In this script i get the error that i must install the php mysql modul.
Hi,
I would like to write a secured logon page but i do not have any idea where
to start...
i've alreay setup my Apache server for using SSL, but what about the PHP
code ? with or without cookie ? crypted or not ?
please, could you give me some good tutorial or web page where i can find
such
Alain Roger wrote:
Hi,
I would like to write a secured logon page but i do not have any idea where
to start...
i've alreay setup my Apache server for using SSL, but what about the PHP
code ? with or without cookie ? crypted or not ?
please, could you give me some good tutorial or web page
Barry wrote:
Gregory Machin wrote:
Hi
I would like to know how i would hide my index page so that it is not
shown
at the end of the url like how gmail does it and many cms do it ..
And what is it called when one does this ..
Thank you
--
not sure...but u can use frames. the main page
Barry wrote:
Gregory Machin wrote:
Hi
I would like to know how i would hide my index page so that it is not
shown
at the end of the url like how gmail does it and many cms do it ..
And what is it called when one does this ..
Thank you
If you use Apache, what you are looking for is
Hello,
When importing data from file with phpmyadmin the file max size is 2 048kb.
Can this be changed to accept larger files?
It would be more convenient to import data to my test DB if this could be
done via single file export/import.
Thanks
-Will
--
PHP General Mailing List
=
Please feel free to add more points and updates.
20050322jb - Note the new location of PHP Editors list.
=
1. If you have any queries/problems about PHP try
On Mon, 23 Jan 2006 15:37:37 +0200
William Stokes [EMAIL PROTECTED] wrote:
When importing data from file with phpmyadmin the file max size is 2
048kb. Can this be changed to accept larger files?
Yes.
Look at your php.ini file - change the upload_max_filesize to the
filesize you want.
Sunday, January 22, 2006, 10:10:54 PM, Adam Hubscher wrote:
ee dee da da da? sect;eth; -- those that look like html entities are
the represented characters. I was mistaken, they are html entities,
Can you show us a small chunk of this XML that throws errors?
You said you've tried various
Hi
I would like to know how i would hide my index page so that it is not shown
at the end of the url like how gmail does it and many cms do it ..
And what is it called when one does this ..
Thank you
--
Gregory Machin
Gregory:
If I understand what you want, it's very simple, just put your
so it works now.
Thanks
From: David Grant [EMAIL PROTECTED]
CC: php-general@lists.php.net
Subject: Re: [PHP] Php4 with mysql flag
Date: Mon, 23 Jan 2006 12:07:29 +
Markus,
Markus Braun wrote:
libapache2-mod-php4 is already the newest version.
mysql-server is already the newest
thank you barry! function substr_count() does what I need!
On Mon, 23 Jan 2006 9:13 am, Barry Krein wrote:
Nicholas Couloute wrote:
What would I do to the variable each tome to compare it to the query?
~Nick Couloute
co-owner/Web Designer
Sidekick2Music.Com
use substring count or any other
Monday, January 23, 2006, 5:06:02 AM, David BERCOT wrote:
But, I have just another question about all the options I have to put in
this file... Is it necessary to do all of this (sorry for my
Check phpinfo(). Several of those settings may already be set by your
server's php.ini file. Generally,
Hi all:
While I'm sure this is obvious for most, but I just discovered this.
Using one browser (browser A) I can access one of my pages and create
a cookie with a user input value.
Then using a different browser (browser B), I can access the same
page and create another cookie with another
Tedd,
tedd wrote:
Hi all:
While I'm sure this is obvious for most, but I just discovered this.
Using one browser (browser A) I can access one of my pages and create a
cookie with a user input value.
Then using a different browser (browser B), I can access the same page
and create
tedd wrote:
Hi all:
While I'm sure this is obvious for most, but I just discovered this.
Using one browser (browser A) I can access one of my pages and create a
cookie with a user input value.
Then using a different browser (browser B), I can access the same page
and create another cookie
On Mon, 23 Jan 2006 11:30:32 -0500
tedd [EMAIL PROTECTED] wrote:
While I'm sure this is obvious for most, but I just discovered this.
Using one browser (browser A) I can access one of my pages and create
a cookie with a user input value.
Then using a different browser (browser B), I
James Benson wrote:
Even if you can embed PHP in a GIF it would still need to be executed by
PHP as PHP code, would PHP actually execute that file when it looks like
an image, I would think PHP would output an error?
More importantly though, you should be checking the file extension of
On Mon, 23 Jan 2006 16:37:12 +
David Grant [EMAIL PROTECTED] wrote:
tedd wrote:
Hi all:
While I'm sure this is obvious for most, but I just discovered this.
Using one browser (browser A) I can access one of my pages and
create a cookie with a user input value.
Then using
Austin Denyer wrote:
On Mon, 23 Jan 2006 16:37:12 +
David Grant [EMAIL PROTECTED] wrote:
tedd wrote:
Hi all:
While I'm sure this is obvious for most, but I just discovered this.
Using one browser (browser A) I can access one of my pages and
create a cookie with a user input value.
I would have thought this was standard behaviour... Different browsers [can]
store their cookies in different locations on the drive don't they?
It's my experience that cookies are always handled autonomously and
asynchronously by browsers (ie set a cookie in one browser and another won't
see it)
Austin,
Austin Denyer wrote:
On Mon, 23 Jan 2006 16:37:12 +
David Grant [EMAIL PROTECTED] wrote:
tedd wrote:
...
Can you provide some examples for what you mean?
I think he's referring to the fact that you can have one cookie in,
say, Mozilla and another one in, say, Konqueror (or
Barry wrote:
Austin Denyer wrote:
On Mon, 23 Jan 2006 16:37:12 +
David Grant [EMAIL PROTECTED] wrote:
tedd wrote:
Hi all:
While I'm sure this is obvious for most, but I just discovered this.
Using one browser (browser A) I can access one of my pages and
create a cookie with a user
Please ignore the previous e-mail: I slipped on the keyboard. :)
--
David Grant
http://www.grant.org.uk/
http://pear.php.net/package/File_Ogg0.2.1
http://pear.php.net/package/File_XSPF 0.1.0
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi:
After I successfully writing a cookie, I'm having a problems reading
the cookie repeatedly.
The first time into my read the cookie page, the cookie is read.
However, the second time, it's not.
If I quit my browser and then reenter the read the cookie page, the
cookie is there and read
Tedd,
The cookie is being set on the www.xn--ovg.com domain. The cookie is
being read on xn--ovg.com domain. This is perceived to be a security
risk, so the cookie isn't sent.
David
tedd wrote:
Hi:
After I successfully writing a cookie, I'm having a problems reading the
cookie
Even if you can embed PHP in a GIF it would still need to be executed by
PHP as PHP code, would PHP actually execute that file when it looks like
an image, I would think PHP would output an error?
More importantly though, you should be checking the file extension of
uploaded files to make
Tedd,
tedd wrote:
Hi all:
While I'm sure this is obvious for most, but I just discovered this.
Using one browser (browser A) I can access one of my pages and create a
cookie with a user input value.
Then using a different browser (browser B), I can access the same page
and create
Hey,
Check out this example at famous http://www.weberdev.com
http://www.weberdev.com/get_example-3871.html
Let me know if you need more information.
Thanks,
Richard
-Original Message-
From: Nirmalya Lahiri [mailto:[EMAIL PROTECTED]
Sent: Monday, January 23, 2006 8:34 AM
To:
Hey,
Checkout the following example. This example lists the directory content;
you can do a simple string matching.
http://www.weberdev.com/get_example-1572.html
Thanks,
Richard Correia
-Original Message-
From: Nicholas Couloute [mailto:[EMAIL PROTECTED]
Sent: Monday, January 23, 2006
Thanks. Got that one changed to 8Mb.
I ran into another issue though. I'm tryin to import a 2,5 Mb table.
PhpMyAdmin import ends with fatal error while importing. Here's the error
message.
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 2247907 bytes) in
Hey Will,
Following example will give you correct idea where to look.
http://www.weberdev.com/get_example-3688.html
Thanks,
Richard Correia
-Original Message-
From: William Stokes [mailto:[EMAIL PROTECTED]
Sent: Monday, January 23, 2006 7:08 PM
To: php-general@lists.php.net
Subject:
Richard Correia wrote:
Hey Will,
Following example will give you correct idea where to look.
http://www.weberdev.com/get_example-3688.html
Will that take him to the phpMyAdmin site? ;)
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL
I was wondering if anyone has built a php web app that uses google maps,
yahoo maps, and/or mapquest maps.
What I am trying to do is create a web app that if someone inputs their zip
or city and state or address the results will show how far away they are
from one of our stores and have a map to
I'm looking a POP3/IMAP server written in PHP. Or failing that, any
socket-based sever would help me by being an example I could base my
own on.
I know there are a million functions, routines and classes for
talking to POP3/IMAP servers. That is not what I need. I need an
actual service (or
On Mon, 23 Jan 2006 19:24:57 +0200
William Stokes [EMAIL PROTECTED] wrote:
Thanks. Got that one changed to 8Mb.
I ran into another issue though. I'm tryin to import a 2,5 Mb table.
PhpMyAdmin import ends with fatal error while importing. Here's the
error message.
Fatal error: Allowed
Hi,
I have a class which will build, and output, an HTML table. To create
the internal elements more simply I'm using a DOMDocument, with a root
element of 'table' then outputting with the -saveHTML() method.
This has worked fine during development, but I've run into a problem. In
this
On Mon, 2006-01-23 at 13:00 -0500, Austin Denyer wrote:
Check the following entry in your php.ini file:
memory_limit
It's possible you may also need to check this one, too:
post_max_size
I realise that I may get flamed for this on a PHP list, but, generally
when I import sql files to
Tedd,
The cookie is being set on the www.xn--ovg.com domain. The cookie is
being read on xn--ovg.com domain. This is perceived to be a security
risk, so the cookie isn't sent.
David
???
Interesting -- the first time it's read correctly and the second time
it's a security risk -- how doe
There's a couple of things a person can do.
1. check for .gif extention
2. see if exif_imagetype() returns type IMAGETYPE_GIF
3. see if getimagesize() returns reasonable values and not FALSE
4. check the file content for binary vs text content
Gerry
--
PHP General Mailing List
By any chance, you are rewritting it/deleting it?
Thanks
Rich
On 1/24/06, tedd [EMAIL PROTECTED] wrote:
Tedd,
The cookie is being set on the www.xn--ovg.com domain. The cookie is
being read on xn--ovg.com domain. This is perceived to be a security
risk, so the cookie isn't sent.
Hi!
When I've created a .php-file and trying to open it then it's not want
to open. There are no error-messages comes up or something like that,
nothing hapends when I'm trying to open it.
Can you please tell me what's wrong?
Thanks!
//Ivar
[snip]
When I've created a .php-file and trying to open it then it's not want
to open. There are no error-messages comes up or something like that,
nothing hapends when I'm trying to open it.
Can you please tell me what's wrong?
Thanks!
[/snip]
There could be so many things wrong. Create a file
tedd wrote:
Tedd,
The cookie is being set on the www.xn--ovg.com domain. The cookie is
being read on xn--ovg.com domain. This is perceived to be a security
risk, so the cookie isn't sent.
David
???
Interesting -- the first time it's read correctly and the second time
it's a security risk
Monday, January 23, 2006, 1:35:13 PM, Chris wrote:
the -saveHTML() method ... outputs as `option selected`
I need my output HTML to conform to XHTML strict.
Since XHTML is XML, try -saveXML()?
Steve
--
http://mrclay.org/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
[snip]
Nope, that didn't work either...
Oh, on the way, I can't find IIS on the computer. And in
ControllpanelAdd/Remove programAdd/Remove Windows components I can't find
it either. We've Windows XP Home edition.
Maybe it have something with that to do? Please tell me if you know.
Thanks!
By any chance, you are rewritting it/deleting it?
Thanks
Rich
Rich:
I'm definitely not rewriting the cookie, for if I quit the browser
and return to the url again, the cookie data is still there. It's
only when I return to the same url a second time that it doesn't
appear again.
It looks
Can you check your temporary internet files for the cookie?
Does that cookie is deleted from the browser cache?
With OS/Webserver/browser you are using?
Thanks
Rich
On 1/24/06, tedd [EMAIL PROTECTED] wrote:
By any chance, you are rewritting it/deleting it?
Thanks
Rich
Rich:
I'm
Austin Denyer wrote:
This is a function of the way cookies work, and is not a php issue.
Exactly. This is similar to how you can bookmark a page in one browser,
and it won't be in another browser's bookmarks. There's nothing that
says browsers should all use shared resources for persistent
Steve Clay wrote:
Monday, January 23, 2006, 1:35:13 PM, Chris wrote:
the -saveHTML() method ... outputs as `option selected`
I need my output HTML to conform to XHTML strict.
Since XHTML is XML, try -saveXML()?
Steve
I've tried that, and it suits my purposes except for the fact
On 1/23/06, Chris [EMAIL PROTECTED] wrote:
Steve Clay wrote:
Monday, January 23, 2006, 1:35:13 PM, Chris wrote:
the -saveHTML() method ... outputs as `option selected`
I need my output HTML to conform to XHTML strict.
Since XHTML is XML, try -saveXML()?
Steve
I've tried that, and it
I don't know much about the -saveXML() method but after reading the PHP
manual why can't you just do something like this:
$xhtml = $dom-saveXML();
// strip out the ?xml and ?
$html = str_replace(?xml, , $html);
$html = str_replace(?, , $html);
Would that even work?
On 1/23/06 2:52 PM, Chris
ACK! Of course I put errors in the code. But I just read if you want to
strip out the first line that would be easy. Just use a regular expression
and take it out. :)
On 1/23/06 3:23 PM, Jay Paulson [EMAIL PROTECTED] wrote:
I don't know much about the -saveXML() method but after reading
Sorry to kind of spam the list, but I recently switched email programs and
my posts haven't been making it to the list. This is just a test... please
ignore it :)
Thanks,
Ray
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Env: IIS, Windows XP, PHP 4.3.10 (cgi-fcgi)
exec('c:\php\php -q Balance.php export=all branch=branch
month=month
login=admin password=admin export/Balance.html');
This command works in Linux when launched by an HTTP server.
In Windows it works from the command line but hangs when launched
On 1/22/06, HoWang Wang [EMAIL PROTECTED] wrote:
Hi all,
Recently I got a job to write a PHP webpage to display some infomation
which have to obtain from telnet. Telnet is the only way to query the
software. I have made a quick search on php.net but I can't found amy
extension support
Austin Denyer wrote:
This is a function of the way cookies work, and is not a php issue.
Exactly. This is similar to how you can bookmark a page in one
browser, and it won't be in another browser's bookmarks. There's
nothing that says browsers should all use shared resources for
persistent
Jay Paulson wrote:
I was wondering if anyone has built a php web app that uses google maps,
yahoo maps, and/or mapquest maps.
What I am trying to do is create a web app that if someone inputs their zip
or city and state or address the results will show how far away they are
from one of our
tedd wrote:
Tedd,
The cookie is being set on the www.xn--ovg.com domain. The cookie is
being read on xn--ovg.com domain. This is perceived to be a security
risk, so the cookie isn't sent.
David
???
Interesting -- the first time it's read correctly and the second
time it's a security risk
I wrote a little function to put anchor tags around a URL. We're
using it to make URL's in paragraphs of text linkable:
function link_the_links($s) {
return preg_replace('@(http://[^\s]+)@sm', 'a href=$1$1/a', $s);
}
Its only flaw (besides a goofy name) is that if a link comes at the
Hi, James.
James Benson wrote:
Even if you can embed PHP in a GIF it would still need to be executed by
PHP as PHP code, would PHP actually execute that file when it looks like
an image, I would think PHP would output an error?
Unless you include/require or eval() its content, PHP won't
Hi, Gerry.
Gerry Danen wrote:
There's a couple of things a person can do.
1. check for .gif extention
2. see if exif_imagetype() returns type IMAGETYPE_GIF
3. see if getimagesize() returns reasonable values and not FALSE
4. check the file content for binary vs text content
It's enough to
Hi friends.
There are so many job site scripts out there, so cannot decide.
Can anyone suggest a great software?
Thanks
Denis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm try to sort a list of items using a usort function. Basically, I want
it to sort in this order:
Numbers (0-9)
Letters (Aa-Zz)
Other (anything else)
To explain a little further, I want anything that starts with a number to
show up first in the sorted list, then anything that starts with a
I'm getting the following notices:
Notice: Only variables should be assigned by reference in
Notice: Only variable references should be returned by reference in
The code in question comes from PayPal (their CC processing API,) so
modifying it to correct the reference issues is *not*
After some googling, it's a browser thing, not a php thing, as Austin
pointed out. There are just rules (well, suggestions maybe) to be
aware of.
Are we flogging a dead horse here?
On 1/23/06, tedd [EMAIL PROTECTED] wrote:
Austin Denyer wrote:
This is a function of the way cookies work, and
This should be simple. What am I doing wrong?
Here is the code that is failing:
$user = $_SESSION['user'];
print_r($user);
echo Welcome . $user-firstName;
The print_r command prints out:
__PHP_Incomplete_Class Object ( [__PHP_Incomplete_Class_Name] = User
Hey Todd,
You need to check the setting of error reporting in php.ini file.
http://www.weberdev.com/Manuals/PHP/ref.errorfunc.html
Thanks
Richard
On 1/24/06, Todd Brown [EMAIL PROTECTED] wrote:
I'm getting the following notices:
Notice: Only variables should be assigned by reference in
Scott Gunn wrote:
This should be simple. What am I doing wrong?
Here is the code that is failing:
$user = $_SESSION['user'];
print_r($user);
echo Welcome . $user-firstName;
The print_r command prints out:
__PHP_Incomplete_Class Object ( [__PHP_Incomplete_Class_Name] = User
Thanks, Richard, that solved the problem. I knew it was something like
that, but was just running out of time! I appreciate your help.
Cheers,
Todd
Richard Correia wrote:
Hey Todd,
You need to check the setting of error reporting in php.ini file.
Hi, I just installed SuSE 10 and I am having a problem with my phpnuke
site and my maia site. PHPNUKE gives me this error...
*Warning*: main(db/mysql.php): failed to open stream: No such file or
directory in */srv/www/htdocs/bse/db/db.php* on line *53*
*Warning*: main(): Failed opening
Hi, I just installed SuSE 10 and I am having a problem with my phpnuke
site and my maia site. PHPNUKE gives me this error...
*Warning*: main(db/mysql.php): failed to open stream: No such file or
directory in */srv/www/htdocs/bse/db/db.php* on line *53*
*Warning*: main(): Failed opening
Payne wrote:
How can I get php to see pear, it is installed. I have install modules
with pear for maia and horde but neither seem to see pear.
I'm running SuSE 9.3 and had to add /usr/share/php to the include path in
/etc/php.ini to be able to use the installed PEAR extensions.
To enable
90 matches
Mail list logo