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 b
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
* 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
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 system
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 can
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 somewha
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 Professi
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
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,
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
<[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 t
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:
>
>
>no preference
>Paris
>London
>Madrid
>
no preference
Paris
London
Madrid
>
> The intention is to be able to pick mult
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
>>chapte
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://w
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
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 yo
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
>
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 Associa
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/
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
On Sunday 21 September 2003 08:28, Vadim Bendebury wrote:
> The web page has a form with a following element in it:
>
>
>no preference
>Paris
>London
>Madrid
>
>
> The intention is to be able to pick multiple cities. However, when the
> request arrives on the server, the $_POST ar
The web page has a form with a following element in it:
no preference
Paris
London
Madrid
The intention is to be able to pick multiple cities. However, when the
request arrives on the server, the $_POST array includes just the one
last pick, no matter how many options are highligted wh
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
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
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
script
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 ar
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 (http://www.php.n
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
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:
test1.php, the file to be executed, contains just one line:
There are no line
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
Finaly I got the solution.
Replace all line breaks by but not after a html headline
(..)
$text = preg_replace("/(?)\r\n/","\\1",$text);
- Original Message -
From: "Armand Turpel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 20, 2003 7:34 PM
Subject: Re: [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
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
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 al
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--
has been
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
163
Hi Jim ,
The problem with your proposition is that the preg_replace do not replace
\r\n to
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]>; <[EM
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:
Regardless of how I mess around wit
$arr = array("/([^\<][^\/][^h][^1-6].{1}[^\>])\r\n/",
"/([^\<][^\/][^h][^1-6].{1}[^\>])\r/",
"/([^\<][^\/][^h][^1-6].{1}[^\>])\n/",
);
$text = preg_replace($arr,"\\1",$text);
you might try this and see how well it works.
Jim Lucas
- Original Message -
I need the following replace function:
Replace all line breaks to but not if a line break comes after an
or or
Currently I use this preg_replace but it's not good enough for all
situations.
$text = preg_replace("/([^\<][^\/][^h][^1-9].{1})\r\n/","\\1",$text);
Thanks
--
PHP Ge
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 categor
> 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 a
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 cat
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"); /* Give
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 i
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
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
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
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/2133204&mode=thread&tid=126&tid=169
We would like to get
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
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 arra
52 matches
Mail list logo