* Thus wrote Jason Wong ([EMAIL PROTECTED]):
On Saturday 20 September 2003 10:57, John W. Holmes wrote:
[snip]
From my experience, it will work that way. I don't know if it's that
way for every version or not, though.
manual Migrating from PHP/FI 2 to PHP 3
heh... i havn't seen a
On Sat, 2003-09-20 at 02:02, Curt Zirzow wrote:
hmm.. on second thought...
* Thus wrote Robert Cummings ([EMAIL PROTECTED]):
[...]
if( ($char = fread( $stdin, 1 )) !== false )
How are you calling this script? I'm not sure how cgi will handle
fread stdin
With a traditional
On Sat, 2003-09-20 at 01:53, Dan Anderson wrote:
I find your responses to my e-mails quite humorous. Upon review --
aside from a single WTF -- I don't think I was condescending in any way
shape or form. I was just trying to offer help.
The particular shape of your help was non newbie
On Fri, Sep 19, 2003 at 09:14:57PM -0400, Stevie D Peele wrote:
:
: How can I clear all cookies that have been previously set?
:
: I want this in an if statement so something like
:
: if ($value == $blue){
: clear all cookies;
: setcookie(name,time()+3600);
: }
Walk through your $_COOKIE array
On Sat, Sep 20, 2003 at 02:14:54AM -0400, Robert Cummings wrote:
: On Sat, 2003-09-20 at 01:53, Dan Anderson wrote:
:
: I find your responses to my e-mails quite humorous. Upon review --
: aside from a single WTF -- I don't think I was condescending in any way
: shape or form. I was just
Hello,
We have published the results of the Enterprise PHP research on our website.
See the link to InterAKT and Zend survey, together with lots of insightful
comments, here:
http://developers.slashdot.org/article.pl?sid=03/09/19/2133204
We would like to get a link to our survey from www.php.net
Hello,
We have published the results of the Enterprise PHP research on our website.
See the link to InterAKT and Zend survey, together with lots of insightful
comments, here:
http://developers.slashdot.org/article.pl?sid=03/09/19/2133204mode=threadtid=126tid=169
We would like to get a
Am Don, 2003-09-18 um 20.36 schrieb Mike Zornek:
I've created a class called university, it has a constructor which can
accept an id. If the id is sent during construction the constructor will
connect to a MySQL db to set all of the objects member variables to the
MySQl counterparts.
I'd
I've got an error when i try to access www.php.net, are there any
problems?
Paul
GnuPG Key http://sgi.rdscv.ro/~paulm/paulm.PGP
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yonis Rouma wrote:
Hi I am Daniel H R U
I am new in PhP and I download Apache2triad 1.1.6 and I install it but when I am
trying to run apache2triad in my computer it give this Message:
PHP Warning: Unknown(): Unable to load dynamic library
'c:\apache2\php\extensions\php_fdf.dll' - A device
File a bug report. stream_set_blocking() started to work for files only
since version 4.3, so it is likely full of bugs. Actualy, using cli php
4.3.2 I got this results some weird results. Your version run infinitely
but changing echo 'Fooo!'.\n; to echo 'Fooo!'; (removing newline)
resulted in
Hello, I have an intresting problem: I want to let users upload sourcecode
and then compile it using my cygwin gcc... But one thing at a time... I
can't get that gcc to execute...
shell_exec(gcc temp.c); # Doesn't work as that will use MinGW
shell_exec(D:\\cygwin\\bin\\gcc.exe temp.c); /* Gives
Hi,
I have been trying to do this for weeks but i just cant figure this out. I have
categories that have subcategories and i want to insert them into database. My table
looks like this: cat_id, parent_id and cat_name.
Let's say i wanna insert a subcategory that is associated with its parent
I don't know how to create the script that inserts any
subcategory(in this case let's say ItsSubCat 3) in its parent
category.
Please, can someone help me
I'd use the parent category id as a hidden field in the form when adding a
sub category.
Here is a complete script that contains all
I have been trying to do this for weeks but i just cant figure this
out. I have categories that have subcategories and i want to insert
them into database. My table looks like this: cat_id, parent_id and
cat_name.
Let's say i wanna insert a subcategory that is associated with its
parent
I need the following replace function:
Replace all line breaks to br but not if a line break comes after an /h1
or /h2 or /hx
Currently I use this preg_replace but it's not good enough for all
situations.
$text = preg_replace(/([^\][^\/][^h][^1-9].{1})\r\n/,\\1br /,$text);
Thanks
$arr = array(/([^\][^\/][^h][^1-6].{1}[^\])\r\n/,
/([^\][^\/][^h][^1-6].{1}[^\])\r/,
/([^\][^\/][^h][^1-6].{1}[^\])\n/,
);
$text = preg_replace($arr,\\1br /,$text);
you might try this and see how well it works.
Jim Lucas
- Original Message -
Hey all.
I'm running a script from the command-line php interpreter as follows:
(thanks to D. Souza for lead)
$text = `usr/local/bin/php /path/to/my/php/page.php`;
within the read file I want to enable sessions, so I session_start() at the
top of the page:
?
session_start();
?
?
code to
Hi Jim ,
The problem with your proposition is that the preg_replace do not replace
/h1\r\n to /h1br /
thats good,
but also not this:
testh4\r\n
and thats not what I expect from.
atur
- Original Message -
From: Jim Lucas [EMAIL PROTECTED]
To: Armand Turpel [EMAIL PROTECTED];
php-general Digest 20 Sep 2003 17:34:41 - Issue 2308
Topics (messages 163271 through 163298):
Re: Problem with getting non-blocking data from stdin
163271 by: Dan Anderson
163272 by: Robert Cummings
163273 by: Robert Cummings
163274 by: Curt Zirzow
I'm making my own style sheet switcher. Here's my problem. My style
switcher will switch the style once or twice, sometimes only once, and
then It will not do It again until the cookie expires, can somebody spot
what I am doing wrong?
---form---action--
?php
I got an application that uses Smarty, ADODB, and some other custom classes.
So I have about about 5 objects floating around,
and the Smarty object, and another class contains a reference copy of
the ADODB object, and I just get that feeling that it can
be better.
By having one class where they
None that I am aware of.went there just now.
Shadow
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Stevie D Peele wrote:
Can someone spot what Is wrong with my code?
[ trim ]
It says Line 195 which is the ?
Would it matter I don't have all of these files (i.e.
/includes/world.html) were uploaded yet?
Yes it would matter.
You need to use an editor that supports syntax highlighting.
Whenever
Finaly I got the solution.
Replace all line breaks by br / but not after a html headline
(h1../h1)
$text = preg_replace(/(?!h[1-6]\)\r\n/,\\1br /,$text);
- Original Message -
From: Armand Turpel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, September 20, 2003 7:34 PM
On Sat, 2003-09-20 at 15:46, CF High wrote:
Hey all.
I'm running a script from the command-line php interpreter as follows:
(thanks to D. Souza for lead)
$text = `usr/local/bin/php /path/to/my/php/page.php`;
within the read file I want to enable sessions, so I session_start() at the
Hey Robert.
Indeed, hard to find the problem.
I don't believe it's a whitespace issue, or even a Headers sent issue,
despite the fact that I'm receiving that error.
Check it out:
test.php contains just one line: ?$text = `usr/local/bin/php
/path/to/my/php/test1.php`;?
test1.php, the file to
Sounds like you might have an open { somewhere, PHP can't tell that you
have a problem until it reaches the end of the file.
Jason
Burhan Khalid wrote:
Stevie D Peele wrote:
Can someone spot what Is wrong with my code?
[ trim ]
It says Line 195 which is the ?
Would it matter I don't have
I'm on a Mac PowerBook. I'm able to locate the php.ini file. But when I
open it with BBEdit, it's a blank page. I just want to open it and
either view it, or make a copy to view. But all I have is the blank. Any
suggestions?
Thank you.
Steve Tiano
--
PHP General Mailing List
On Sunday 21 September 2003 06:19, Stephen Tiano wrote:
I'm on a Mac PowerBook. I'm able to locate the php.ini file. But when I
open it with BBEdit, it's a blank page. I just want to open it and
either view it, or make a copy to view. But all I have is the blank. Any
suggestions?
Search
Hello, i will be a succinct as possible. I downloaded a php script (a
chatbox) for my web page. The web page is from my ISP, 15Mb space, you have
to have knowledge of UNIX and Html to use the service(to create the page
and upload to the site). I wrote the page in Html, downloaded the php
This may sound a bit long and drawn out, but I'll try my best to summarize
what I'm having trouble with. Roughly 2 weeks ago I began writing scripts to run
a free TagBoard service. (Examples: Tag-Board.com and [mine] MyTagBoard.com)
- my 2-week-long goal was to compile a list of features (based
in the past people have talked about doing this in a few different ways.
1. Have an image that javascript refreshes the url on and when doing so
calls
to a php script that checks to see if anything is newer then the last
time
that it checked. And if something has ben updated then have
The web page has a form with a following element in it:
select multiple size=4 name=city
option selected value=0no preference/option
option value=2Paris/option
option value=1London/option
option value=3Madrid/option
/select
The intention is to be able to pick multiple cities. However,
On Sunday 21 September 2003 08:28, Vadim Bendebury wrote:
The web page has a form with a following element in it:
select multiple size=4 name=city
option selected value=0no preference/option
option value=2Paris/option
option value=1London/option
option value=3Madrid/option
Jason Wong wrote:
manual PHP and HTML
do you feel good being a moron?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Vadim Bendebury wrote:
Jason Wong wrote:
manual PHP and HTML
do you feel good being a moron?
Sorry, I did not mean to post this on the group, it was meant to be a
private email.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sunday 21 September 2003 08:47, Vadim Bendebury wrote:
manual PHP and HTML
do you feel good being a moron?
Is that how you feel about people who help you?
Did you read that chapter of the manual indicated above?
Did it not answer your question?
--
Jason Wong - Gremlins Associates -
On Sat, 20 Sep 2003 18:19:25 -0400
Stephen Tiano [EMAIL PROTECTED] wrote:
I'm on a Mac PowerBook. I'm able to locate the php.ini file. But when I
open it with BBEdit, it's a blank page. I just want to open it and
either view it, or make a copy to view. But all I have is the blank. Any
Sory, Jason, what particular manual you are talking about? Does it have
a chapter titled PHP and HTNL?
The manuals I have do not answer my question and do not have such a
chapter. If there is an online manual you are referring to, the URL
would be most useful in this situation.
thank you for
On Sunday 21 September 2003 09:01, Vadim Bendebury wrote:
Sory, Jason, what particular manual you are talking about? Does it have
a chapter titled PHP and HTNL?
The php manual?
The manuals I have do not answer my question and do not have such a
chapter. If there is an online manual you are
So he tells you where to find the answer, and he's a moron? Do you
expect him (us) to hold your hand, and write code for you?
Vadim Bendebury wrote:
Jason Wong wrote:
manual PHP and HTML
do you feel good being a moron?
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
Jason Wong wrote:
On Sunday 21 September 2003 09:01, Vadim Bendebury wrote:
Sory, Jason, what particular manual you are talking about? Does it have
a chapter titled PHP and HTNL?
The php manual?
The manuals I have do not answer my question and do not have such a
chapter. If there is
On Sat, 20 Sep 2003 17:28:45 -0700
Vadim Bendebury [EMAIL PROTECTED] wrote:
The web page has a form with a following element in it:
select multiple size=4 name=city
option selected value=0no preference/option
option value=2Paris/option
option value=1London/option
option
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
I'm not looking for actual code; that part I can do; I'm just looking for
a
basic what does what procedure on how it's done. Any thoughts on this
would
be very greatful! Thanks in advance =)
Why not do a meta refresh with the time as
Hi,
I am trying to make a tell a friend script, i am getting the emails from a
textarea and am asking for this format [EMAIL PROTECTED],[EMAIL PROTECTED] etc in case
the
client forgets to put a comma or purposely then how do i check it?
If anybody has any code samples or has already done that,I
I was hoping to get a bit of help with a strange file upload issue that I am having. Below is a simple form that I am using as an example. The output from the $_FILES array follows that. The thing that I am unable to resolve is the fact that the file upload returns the name of the file the user is
Hi,
Sunday, September 21, 2003, 1:10:29 PM, you wrote:
SK I was hoping to get a bit of help with a strange file upload issue that
SK I am having. Below is a simple form that I am using as an example. The
SK output from the $_FILES array follows that. The thing that I am unable
SK to resolve is
Is anyone planning on going to this?
http://www.phparch.com/cruise/
I'm trying to go. It would be nice to put a face to the name with a few
people out there. Let me know.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP
I am creating a script and there is an autoconfig file. I want to read
in the web address of the server, and throw some correct URLs into the
database.
Will using $_SERVER['HTTP_HOST'] guarantee getting me the domain name of
the server on which the web page I am viewing is hosted?
I am
John W. Holmes wrote:
Is anyone planning on going to this?
http://www.phparch.com/cruise/
I'm trying to go. It would be nice to put a face to the name with a few
people out there. Let me know.
All depends on money. Being out of work, in the hot bed of technology
that South Louisiana is, I
I can connect to MS-SQL via php. However, the LIMIT keyword is not
supported. Looking
at the archieves, SELECT TOP X was recommended. Works ok, however i need to
specify a start row, ie. Page 1, Page 2.
Any ideas?
Nyon
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus
* Thus wrote Dan Anderson ([EMAIL PROTECTED]):
I am creating a script and there is an autoconfig file. I want to read
in the web address of the server, and throw some correct URLs into the
database.
Will using $_SERVER['HTTP_HOST'] guarantee getting me the domain name of
the server on
php-general Digest 21 Sep 2003 05:35:23 - Issue 2309
Topics (messages 163299 through 163331):
I have a problem :: help please?
163299 by: Stevie D Peele
Housing multiple classes under one class
163300 by: Gerard Samuel
Re: php.net
163301 by: Shadow
Re: Whats wrong
In a message dated 9/21/2003 1:35:43 AM Eastern Standard Time,
[EMAIL PROTECTED] writes:
The host: header is what HTTP_HOST is. If you can access the site
by the IP, I'm not exactly sure what will happen in that case,
cause the browser may not send that host: value.
If it's accessed by
55 matches
Mail list logo