2008/11/19 Robert Cummings [EMAIL PROTECTED]:
On Wed, 2008-11-19 at 19:49 +, Ashley Sheridan wrote:
On Wed, 2008-11-19 at 08:31 -0600, Terion Miller wrote:
I am still getting the Invalid arguement error on this implode:
if (isset($_POST['BannerSize'])){$BannerSize =
On 20 Nov 2008, at 01:29, Rene Fournier wrote:
I'm trying to understand something about fread(). I'm using fread()
on an incoming socket stream that will send, for example, 26630
characters:
while ( ($buf=fread($read[$i], 8192)) != '' ) {
$sock_data .= $buf;
usleep(1000);
On 20 Nov 2008, at 06:55, Yashesh Bhatia wrote:
I wanted to use in_array to verify the results of a form submission
for a checkbox and found an interesting
behaviour.
$ php -v
PHP 5.2.5 (cli) (built: Jan 12 2008 14:54:37)
$
$ cat in_array2.php
?php
$node_review_types = array(
Rene Fournier wrote:
On 19-Nov-08, at 12:52 PM, Nathan Rixham wrote:
Rene Fournier wrote:
Hi,
I have four identical command-line PHP scripts running, and each will
frequently fetch some data from another server via
file_get_contents(). By frequently, I mean on average, every second.
The Webkist engine afaik is licensed under the GPL, because of the use
of the code from the original KHTML. I'm not sure how this fits with M$
proprietary plan however...
Webkit is licensed under LGPL and BSD licenses.
You say that, have you heard the latest for IE9? They're already
Hi,
i have a class and i would like to store it zithin session.
i was thinking to use serialize/unserialize but it does not work.
any idea how to do it ?
thx.
F.
On 20 Nov 2008, at 11:01, Alain Roger wrote:
i have a class and i would like to store it zithin session.
i was thinking to use serialize/unserialize but it does not work.
any idea how to do it ?
Alain, you've been on this list long enough to know that it does not
work is not enough
If you can't load the class before calling session_start you can store
the serialized object in a file and simple set a
$_SESSION['path_to_file'] session variable..
EXAMPLE:
?php
session_start();
//some code
class apple_tree {
var $apples = 17;
}
$temporary_file = 'appletree.txt';
On Thu, Nov 20, 2008 at 8:37 AM, Yeti [EMAIL PROTECTED] wrote:
If you can't load the class before calling session_start you can store
the serialized object in a file and simple set a
$_SESSION['path_to_file'] session variable..
EXAMPLE:
?php
session_start();
//some code
class apple_tree
I currently have it like this:
select name=BannerSize
option value=0Select a Banner
Size/option
option value=728x90728x90 -
Leaderboard/option
option value=160x600160x600 -
Skyscraper/option
On 20 Nov 2008, at 14:37, Terion Miller wrote:
I currently have it like this:
select name=BannerSize
option value=0Select a Banner
Size/option
option value=728x90728x90 -
Leaderboard/option
option
On 20 Nov 2008, at 14:37, Terion Miller wrote:
I currently have it like this:
select name=BannerSize
if you've got it working don't change it :)
but to explain:
it is possible to send through an array of data from a form, to do this
you place multiple elements with the same name followed by
Terion Miller wrote:
Nathan, thank you thank you thank you
now I get it! your the bomb!!
terion
joy, glad to hear it
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 20-Nov-08, at 2:59 AM, Nathan Rixham wrote:
Rene Fournier wrote:
On 19-Nov-08, at 12:52 PM, Nathan Rixham wrote:
Rene Fournier wrote:
Hi,
I have four identical command-line PHP scripts running, and each
will frequently fetch some data from another server via
file_get_contents(). By
On Thu, Nov 20, 2008 at 11:50 AM, Rene Fournier [EMAIL PROTECTED] wrote:
Don't think that can be it, since (a) the other processes are not being
denied their http requests and (b) requests are going to two servers.
Have you checked your firewall settings? It may be configured to
deny
Daniel P. Brown wrote:
On Thu, Nov 20, 2008 at 11:50 AM, Rene Fournier [EMAIL PROTECTED] wrote:
Don't think that can be it, since (a) the other processes are not being
denied their http requests and (b) requests are going to two servers.
Have you checked your firewall settings? It may be
Eric Butera schreef:
On Thu, Nov 20, 2008 at 8:37 AM, Yeti [EMAIL PROTECTED] wrote:
...
Autoload. Why on earth would you do such a thing?
autoload ... your neighbourhood opcode cache performance killer,
then again so is file based sessions (for ease of use I stick
my session files on
Stut schreef:
On 20 Nov 2008, at 01:29, Rene Fournier wrote:
I'm trying to understand something about fread(). I'm using fread() on
an incoming socket stream that will send, for example, 26630 characters:
while ( ($buf=fread($read[$i], 8192)) != '' ) {
$sock_data .= $buf;
On Thu, Nov 20, 2008 at 2:07 PM, Jochem Maas [EMAIL PROTECTED] wrote:
Eric Butera schreef:
On Thu, Nov 20, 2008 at 8:37 AM, Yeti [EMAIL PROTECTED] wrote:
...
Autoload. Why on earth would you do such a thing?
autoload ... your neighbourhood opcode cache performance killer,
then again so
This one time, at band camp, Alain Roger [EMAIL PROTECTED] wrote:
Hi,
i have a class and i would like to store it zithin session.
i was thinking to use serialize/unserialize but it does not work.
http://www.phpro.org/tutorials/Introduction-To-PHP-Sessions.html#8
Kevin
--
PHP General
On 20-Nov-08, at 9:56 AM, Daniel P. Brown wrote:
On Thu, Nov 20, 2008 at 11:50 AM, Rene Fournier
[EMAIL PROTECTED] wrote:
Don't think that can be it, since (a) the other processes are not
being
denied their http requests and (b) requests are going to two servers.
Have you checked
On 20-Nov-08, at 10:46 AM, Nathan Rixham wrote:
Daniel P. Brown wrote:
On Thu, Nov 20, 2008 at 11:50 AM, Rene Fournier
[EMAIL PROTECTED] wrote:
Don't think that can be it, since (a) the other processes are not
being
denied their http requests and (b) requests are going to two
servers.
On Thu, Nov 20, 2008 at 2:41 PM, Rene Fournier [EMAIL PROTECTED] wrote:
There is no firewall between any of the servers -- they are all on the same
LAN.
I read when you said that, but I must not have explained myself
well enough before. Sorry.
Linux, by default, has firewalls
On 20 Nov 2008, at 19:35, Eric Butera wrote:
Well I wouldn't put objects into the session to begin with.
Why not? I do it all the time and it works fine.
I was
just talking about this specific case. Wouldn't autoload be fine if
the file was already in the opcode cache?
Opcode caches work
On Thu, Nov 20, 2008 at 2:51 PM, Stut [EMAIL PROTECTED] wrote:
On 20 Nov 2008, at 19:35, Eric Butera wrote:
Well I wouldn't put objects into the session to begin with.
Why not? I do it all the time and it works fine.
I was
just talking about this specific case. Wouldn't autoload be fine
My prime hobby is photography and the next is web site building.
So now I have a young model (18+) asking me about getting a web site.
The idea is members can see content, that will include, photos, her blog
and a discussion forum.
I like the idea of building it, but it includes a lot of
-Original Message-
From: Stephen [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 20, 2008 4:17 PM
To: PHP-General
Subject: [PHP] Model Web Site
My prime hobby is photography and the next is web site building.
So now I have a young model (18+) asking me about getting a web
On Thu, Nov 20, 2008 at 5:16 PM, Stephen [EMAIL PROTECTED] wrote:
Can someone point me to documentation/tutorials/scripts or anything that
might help.
Stephen,
The whole thing could be built pretty quickly using existing open
source systems such as phpBB3[1] and Gallery[2] as a core.
Boyd, Todd M. wrote:
http://www.w3schools.com/html
http://www.w3schools.com/xhtml
http://www.w3schools.com/css
http://www.w3schools.com/js
http://www.w3schools.com/php
http://www.w3schools.com/sql
http://www.php.net
http://www.mysql.com
most important link:
http://www.google.com
Get
On 20-Nov-08, at 12:44 PM, Daniel P. Brown wrote:
On Thu, Nov 20, 2008 at 2:41 PM, Rene Fournier [EMAIL PROTECTED]
wrote:
There is no firewall between any of the servers -- they are all on
the same
LAN.
I read when you said that, but I must not have explained myself
well enough
Stephen wrote:
Boyd, Todd M. wrote:
http://www.w3schools.com/html
http://www.w3schools.com/xhtml
http://www.w3schools.com/css
http://www.w3schools.com/js http://www.w3schools.com/php
http://www.w3schools.com/sql
http://www.php.net
http://www.mysql.com
most important link:
Rene Fournier wrote:
On 20-Nov-08, at 12:44 PM, Daniel P. Brown wrote:
On Thu, Nov 20, 2008 at 2:41 PM, Rene Fournier [EMAIL PROTECTED]
wrote:
There is no firewall between any of the servers -- they are all on
the same
LAN.
I read when you said that, but I must not have explained
What is new to me is controlling access based on being a member. And
making it tough for hackers.
Look for a tutorial on building a login system and go from there.
Since you mentioned security I would recommend HTTPS.
http://en.wikipedia.org/wiki/HTTPS
--
PHP General Mailing List
On Thu, 2008-11-20 at 09:25 +, Stut wrote:
On 20 Nov 2008, at 06:55, Yashesh Bhatia wrote:
I wanted to use in_array to verify the results of a form submission
for a checkbox and found an interesting
behaviour.
$ php -v
PHP 5.2.5 (cli) (built: Jan 12 2008 14:54:37)
$
$ cat
On 20-Nov-08, at 3:57 PM, Nathan Rixham wrote:
Rene Fournier wrote:
On 20-Nov-08, at 12:44 PM, Daniel P. Brown wrote:
On Thu, Nov 20, 2008 at 2:41 PM, Rene Fournier
[EMAIL PROTECTED] wrote:
There is no firewall between any of the servers -- they are all
on the same
LAN.
I read
Well can it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No but you can use imagemagicks convert to convert the pdf to an image and
then make a thumbnail of it.
On 11/20/08 4:39 PM, Brian Dunning [EMAIL PROTECTED] wrote:
Well can it?
--
Stephen Johnson
The Lone Coder
http://www.ouradoptionblog.com
*Join us on our adoption journey*
[EMAIL
As Daniel mentioned, I would recomed building it upon an existing
system. I've seen whole sites custom built around PHPBB.
This might be something you want to look into. Google for PHPBB
programming tutorials; it's pretty well documented. I think it's your
best bet if you don't want to spend
2008/11/20 Stut [EMAIL PROTECTED]:
On 20 Nov 2008, at 06:55, Yashesh Bhatia wrote:
I wanted to use in_array to verify the results of a form submission
for a checkbox and found an interesting
behaviour.
$ php -v
PHP 5.2.5 (cli) (built: Jan 12 2008 14:54:37)
$
$ cat in_array2.php
?php
Hi all,
I have a script that I call with CURL and get an XML response with a few
parameters.
I need to be able to read that XML but not sure how to.
I know of simpleXML but the server is php4.
Would xml_parse be the thing to look at?
What is the simplest way to accomplish this
Angelo Zanetti wrote:
Hi all,
I have a script that I call with CURL and get an XML response with a few
parameters.
I need to be able to read that XML but not sure how to.
I know of simpleXML but the server is php4.
Would xml_parse be the thing to look at?
What is the
Angelo Zanetti wrote:
Hi all,
I have a script that I call with CURL and get an XML response with a few
parameters.
I need to be able to read that XML but not sure how to.
I know of simpleXML but the server is php4.
Would xml_parse be the thing to look at?
What is the
42 matches
Mail list logo