hi
check this:
http://www.linuks.net/robot.phps
best regards
attila strauss
>
> If I want to pipe, say an incoming email to a PHP script (assuming I
> have php compiled as a cgi binary), how do I deal with when it needs to
> receive the stream of data, how to figure out when there is n
On Tue, Nov 20, 2001 at 09:20:19PM +0100, Steve Haemelinck wrote:
> Is it possible to use Oci-functions with Oracle 9i database ?
yes. configure --with-oci8 should do the trick.
tc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
Hi,
I am reading a date from an input in format 'DD-MM-' ex. 10-11-2001.
Now I want to add 3 months to the date. I have tested mktime and strftime
etc and no matter what I do I get the year as 1970. (Systemdate works
fine). How would I go about adding 3 months to a date in that format?
Th
hmm...never tried it but maybe this works:
try to include the class via eval()
like: @eval("include ('$filetoinclude');");
and use the control operators w/ them?
"Aaron" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> ok what I want to do if possible is
>
You have two options. If you have root access you can login as root and
delete them. If it is something you will be doing on an ongoing basis you
can add a cron job as root to chrgp and chown the files in the upload
directory every so often. You would then be able to delete them as whatever
use
I'm running Windows 2000 Advanced server w/ SP2, with IIS and apache 1.3.22.
When i run some scripts(PEAR webinstaller.php for example) i get a
Application Error stating that php.exe (if trying under IIS) or apache.exe
(when trying under apache) have caused a error, saying:
' The instruction at "
Hi,
I'm new to this group. I have a problem with a php script that I'm
creating to upload files to the server.
The uploaded files have their owner as "apache" and not me as the owner.
Hence I'm not able to delete the files that are uploaded.
How do I solve this problem?
Thanks,
"Ashley M. Kirchner" <[EMAIL PROTECTED]> wrote:
> Steve Werby wrote:
>
> > Exactly. It sounds like you're doing INSERTs so unless you're doing an
> > UPDATE or SELECT that can give unexpected results if another instance of
the
> > script is running at the same time or you have other scripts acces
Oops, I didn't mean to post the same code that's been posted. The
subject sorter doesn't work correctly on Netscape Messenger. I thought
I had finished reading the thread.
My apologies,
Robin
Robin Chen wrote:
>
>
> $required = array('name','address','phone');
> $has_empty = 0;
>
> foreac
Steve Werby wrote:
> Exactly. It sounds like you're doing INSERTs so unless you're doing an
> UPDATE or SELECT that can give unexpected results if another instance of the
> script is running at the same time or you have other scripts accessing the
> same files/tables that may run at the same tim
You don't need to use the $has_empty variable, but I thought it would be
better to just display the message once.
Robin
[EMAIL PROTECTED] wrote:
>
> I am a perl user trying to convert to php
>
> how would i turn this perl into php?
>
> use CGI;
>
> $name = param(name);
> $address = param(a
"David Robley" <[EMAIL PROTECTED]> wrote:
> On Wed, 21 Nov 2001 14:52, Ashley M. Kirchner wrote:
> > David Robley wrote:
> > > The OS will take care of this by firing up another instance of
> > > your script. All you need to do is be aware of the possibility of
> > > multiple instances doing ?thin
[posted and mailed]
Jim Lucas addressed php.general and spake thusly:
>> I have a page that includes a file in the middle, but I wish to set
>> the title of the page based on a variable set in the included file--
>> is this possible?
>>
>> Basically, I was doing this for the output buffering:
On Wed, 21 Nov 2001 14:52, Ashley M. Kirchner wrote:
> David Robley wrote:
> > The OS will take care of this by firing up another instance of
> > your script. All you need to do is be aware of the possibility of
> > multiple instances doing ?things? at around the same time and make
> > sure that y
David Robley wrote:
> The OS will take care of this by firing up another instance of
> your script. All you need to do is be aware of the possibility of
> multiple instances doing ?things? at around the same time and make sure
> that you don't have say several instances all writing to the same fi
ok what I want to do if possible is
i have file index.php
then I include the file x.class
now. index.php calls x.class
IF x.class has a parse error just return false to index.php?
or just return nothing,
But dont stop the execution of index.php Is this possible?
--
PHP General Maili
On Wed, 21 Nov 2001 13:04, Ashley M. Kirchner wrote:
> If I want to pipe, say an incoming email to a PHP script (assuming
> I have php compiled as a cgi binary), how do I deal with when it needs
> to receive the stream of data, how to figure out when there is no more
> coming before it actuall
"Ashley M. Kirchner" <[EMAIL PROTECTED]> wrote:
> If I want to pipe, say an incoming email to a PHP script (assuming I
> have php compiled as a cgi binary), how do I deal with when it needs to
> receive the stream of data, how to figure out when there is no more
> coming before it actually sta
If I want to pipe, say an incoming email to a PHP script (assuming I
have php compiled as a cgi binary), how do I deal with when it needs to
receive the stream of data, how to figure out when there is no more
coming before it actually start to parse the information?
And how do people dea
The second script would still need some way of knowing what data to pull
from the database. Some sort of unique key could be generated by the first
script when the data is inserted into the database, and that key used to
pull the data in the second page. Of course, the key would probably have
How about storing it in a db or a file and retrieve it from the 2nd php
script..
Chris Kay - Tech Support - IDEAL Internet
email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890
--
I know of no way to do this automatically with PHP. I think you can pull it
off with some javascript.
Wm <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi all,
>
> if i pass data through a form (post) to a php script(script must be
> separate from form)
>
On Wed, 21 Nov 2001 10:49, Michael J. Seely wrote:
> HI Folks,
>
> I'm trying to use the encrypt and decrypt functions in PHP3. I get a
> fatal error "Call to unsupported or undefined function encrypt() ...
>
>Is this a configuration issue or I'm I doing something wrong?
>
> Thanks
If you ar
What do you mean, a postal address? If so, a good place to start would
be:
http://directory.google.com/Top/Reference/Directories/Postal/
Not sure how to do it, perhaps some research through the above will help.
If you do come up with something, don't hesitate to let me know :)
regards,
Phili
Hi,
First of all, my apologies if this question has been asked earlier. I am in
a hurry and I haven't checked the archives (Actually, I am in the process of
doing it but am trying to cover all the bases).
I know that PHP has functions which will allow Users to be authenticated off
a NIS Server
See:
http://www.php.net/manual/en/function.mail.php
an example lives there. The key here is that additional headers, such as
From: will go in the optional additional_headers parameter.
Regards,
Philip Olson
On Tue, 20 Nov 2001, Ben Clumeck wrote:
> I am new to PHP. I am trying to specify
@mail( "[EMAIL PROTECTED]", "$subject", "$body", "From: $fromemail");
- Original Message -
From: Avdija A. Ahmedhodziæ <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 21. studeni 2001 02:06
Subject: Re: [PHP] mail() function
> @mail( "[EMAIL PROTECTED], "$subject", "$body", "From:
$fr
@mail( "[EMAIL PROTECTED], "$subject", "$body", "From: $fromemail\nContent-Type:
text/plain; charset=\"windows-1250\" ");
- Original Message -
From: Ben Clumeck <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 21. studeni 2001 01:58
Subject: [PHP] mail() function
> I am new to PHP. I
I am new to PHP. I am trying to specify the email address in the "From"
field. Right now it gives me my host name. Can anyone help?
Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact t
Paul,
Use a System DSN.
Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software http://www.openlinksw.com
Universal Data Access & Data Integration Technology Providers
> -Original Message-
> From: Paul Roberts [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November
When POST data is sent to a page, it's as if somebody typed the text into a
textarea and hit a submit button. Even though this is being done
programmatically, the POST method will behave the same. SOmebody in their
(your)code will have to write something similiar to:
$postData = "xVar=" . rawu
Hello,
Does anyone have a good function or ideas about address standardization? I
need some form of it in a web-app I am trying to write, but I don't know
where to begin.
Thanks,
Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
HI Folks,
I'm trying to use the encrypt and decrypt functions in PHP3. I get a
fatal error "Call to unsupported or undefined function encrypt() ...
Is this a configuration issue or I'm I doing something wrong?
Thanks
--
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Michael Seely 408-777-9
switch the isset() with !empty()
At 21:51 20/11/01 +0100, Raymond Lilleodegard wrote:
>It works after modifying it a little. BUT... :) It lists all the variables
>even if they aren't given any value. Is it possible to only get the defined
>ones?
>
>Regards Raymond
>
>
>"Matthew Luchak" <[EMAIL PR
$HTTP_COOKIE_VARS['someWord'];
$HTTP_GET_VARS['someWord'];
:P
Mike
Richard S. Crawford wrote:
> Consider this code, in page1.php:
>
> setcookie("someWord","I am a cookie");
> ?>
>
> ...and this code, in page2.php:
>
> setcookie("someWord",$someWord);
> print ("someWor
hi all,
if i pass data through a form (post) to a php script(script must be
separate from form)
is there a way that this php script can then forward that data to
another script without
attaching it to the end of the url?
thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubs
try it the other way around. capture the output of the included file before
you send/display the title
Jim
- Original Message -
From: "Chris Lott" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 20, 2001 3:44 PM
Subject: [PHP] Setting title via included file
> I hav
I have a page that includes a file in the middle, but I wish to set the
title of the page based on a variable set in the included file-- is this
possible?
PHP processes the page sequentially, so if I have $foo = Title in the
included file, it is too late to use it for the title of the main doc
not sure what you're getting at. when you pull the text back out of the DB,
it should be formatted the same as when it was put in the DB.
the \n's should still be intack
are you processing the text before it gets entered into the DB?
You should be able to do this:
Jim
- Original Message
Hi,
Something ive been trying to find out but cant seem to get the wording
right to find the answers in the archives.
What I have is a mysql database, and in that DB I have a field which is
just a 'text' field. What I want to be able to do is write whatever text
is typed from the webforms textar
If you have any interest in yachting, boats, sailing or holidays afloat...
Visit >> www.yacht-search.net << the new international boat & yacht charter & sales
system -
FREE OF CHARGE FOR ALL USERS... Free advertising or enquires using $1.5 Million USD
(£1M) of technology!
> CREATING NEW M
> So is there an easy way in perl for us lazy people so i dont
> have to use
> commas and enter every variable name in single quotes?
Not that I know of. Of course, one can't be all that lazy if one has learned
perl ;)
Kirk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-m
perhaps you want to do the following:
function foo($str) {
return explode(' ',$str);
}
$required = foo('name address phone');
regards,
Philip Olson
On Tue, 20 Nov 2001, Brandon Lamb wrote:
> Here is the php version
> $required = array('name','address','phone');
>
> Here is the perl ver
"Brandon Lamb" <[EMAIL PROTECTED]> wrote:
> Here is the php version
> $required = array('name','address','phone');
>
> Here is the perl version
> @required = qw( name address phone );
>
>
> So is there an easy way in perl for us lazy people so i dont have to use
> commas and enter every variabl
Try This approach:
$msg = " I want to order: ";
if(!empty($pizza)) {
$msg .= $pizza."Pizza";
}
if(!empty($chips)) {
$msg .= $chips."Chips ";
}
if(!empth($hamburgers)) {
$msg .= $hamburgers." Hamburgers";
}
//Note: PHP has a one-line if statement, which slips my mind f
Hi,
Does anyone have an example of Inserting a record to a table in an Access
database where one of the fields is an Autonumber field, and most
importantly, retrieving the value of the newly inserted Autonumber field?
I'm looking for the equivilant of mysql_insert_id() for ODBC. Thanks.
Greg Soh
Here is the php version
$required = array('name','address','phone');
Here is the perl version
@required = qw( name address phone );
So is there an easy way in perl for us lazy people so i dont have to use
commas and enter every variable name in single quotes?
--
PHP General Mailing List (htt
This is actually a feature that PHP offers when compiled with the
--enable-trans-sid option. If a browser does not support cookies or has
security settings that place restrictions on cookies that won't allow
PHP to have access to the cookie, then PHP will append the session id to
the URL. I
Keep it mind that EGPCS is in that order for a reason. Changing it can open
up security problems...
-JAson Garbr
At 01:16 PM 11/20/2001 -0800, Fred wrote:
>If you want certain variables to over ride cookie variables you need to
>change the setting of the variables_order directive in ph
There is a way to do it with javascript, works in IE but have not tried it
with Netscape.
> Hello,
> I have to solve one problem - my script searches simply text document,
so - if this document is big enought - i have to "replace" timeout of my
script, besides - i have to make, that then this pr
BUT, that code doesn't take into account that you may have other form
parameters that you DON'T want to require. With that code below, you're
requiring EVERY form element to be filled out. That's not what the
original post requested. He asked for a way to require specific fields
according t
Or..
$required = array($name,$addr,$phone);
foreach($required as $x) {
if(!$x) {
print "error";
}
}
~Ryan
- Original Message -
From: "Philip Hallstrom" <[EMAIL PROTECTED]>
To: "Brandon Lamb" <[EMAIL PROTECTED]>
Cc: "PHP List" <[EMAIL PROTECTED]>
Sent: Tuesday, November 20, 2001
No, but this:
$required = array('name','address','phone');
foreach( $required as $key ) {
if( empty($HTTP_POST_VARS[$key]) ) {
print("Sorry, you left key empty.");
}
}
should work.
On Tue, 20 Nov 2001, Brandon Lamb wrote:
> What about this?
>
> $required =
You could also try:
if(! ereg('^http://', $url))
$url = 'http://' . $url;
-JAson Garber
At 11:15 PM 11/20/2001 +0100, Daniel Alsén wrote:
> > How about:
> >
> > if (substr($url,0,7) <> "http://";)
> > $url = "http://"; . $url;
>
>Thanks!
>
>That´s just the function i am looking f
How about like this:
$required = array("field1","field2","field3");
for ($i=0;$i
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 20, 2001 2:21 PM
Subject: Re: Re: [PHP] How do I convert from perl to php?
> So I would have to write a seperate if condition for each form input field
i wanted to r
What about this?
$required = array('name','address','phone');
while ( list($key, $value) = each ($required) ) {
if ( empty($value) ) {
print("Sorry, you left $key empty.");
}
}
- Original Message -
From: "Philip Hallstrom" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Now this looks like what I would want...
brandon
- Original Message -
From: "Philip Hallstrom" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, November 20, 2001 2:22 PM
Subject: [PHP] Re: Re: How do I convert from perl to php?
You could do something l
Correct, the third parameter is for the number of characters to read,
nothing means entire string.
Function details can be found here:
http://download.php.net/manual/en/function.substr.php
> > How about:
> >
> > if (substr($url,0,7) <> "http://";)
> > $url = "http://"; . $url;
>
> Thanks!
>
Some browser (konqueror) show the session id in the url. Does anoyone know
how to aviod that. Netscape does not show the session id.
Thanks in advance
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
I have to solve one problem - my script searches simply text document, so - if this
document is big enought - i have to "replace" timeout of my script, besides - i have
to make, that then this proceeds some kind of process bar must scroll until script
finishes his job...
so - any ideas
Beauty!
/mt
At 02:08 PM 11/20/2001 -0800, Rasmus Lerdorf wrote:
>if(!(isset($name) && isset($address) && isset($phone)) {
> echo "You left one empty.";
>}
>
>On Tue, 20 Nov 2001 [EMAIL PROTECTED] wrote:
>
> > I am a perl user trying to convert to php
> >
> > how would i turn this perl into
You could do something like this... there are lots of ways to validate
your data...
while( list($key, $value) = each($HTTP_POST_VARS) ) {
if( empty($value) ) {
print("Sorry, you left $key empty.");
}
}
This is assuming the form method is POST. If it's GET, swit
Try something like this:
while (list($name, $value) = each($HTTP_POST_VARS)) {
if ((strlen($value) < 1) && ($name == "name" || $name ==
"address" || $name == "phone")) {
$error .= "You left $name empty ";
}
}
if ($error) {
echo $error;
}
That's one way
So I would have to write a seperate if condition for each form input field i wanted to
require? that doesn't make for a very dynamic script...
> if(!(isset($name) && isset($address) && isset($phone)) {
> echo "You left one empty.";
> }
>
> On Tue, 20 Nov 2001 [EMAIL PROTECTED] wrote:
>
> >
> How about:
>
> if (substr($url,0,7) <> "http://";)
> $url = "http://"; . $url;
Thanks!
That´s just the function i am looking for. I looked it up in the manual.
Correct me if i am wrong - if i don´t set the second parameter in substr it
just continues to read until the variable is finished?
if(!(isset($name) && isset($address) && isset($phone)) {
echo "You left one empty.";
}
On Tue, 20 Nov 2001 [EMAIL PROTECTED] wrote:
> I am a perl user trying to convert to php
>
> how would i turn this perl into php?
>
> use CGI;
>
> $name = param(name);
> $address = param(address);
> $ph
Thank you very much guys! You really helped out with this one. I will sleep
a lot better to night : )
Regards Raymond
"Matthew Luchak" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
try &&($val!="") instead of &&(isset($var)
Matthe
How about:
if (substr($url,0,7) <> "http://";)
$url = "http://"; . $url;
> Hi,
>
> which function would i use to check if a certain value is in the contents
of
> a variable?
>
> I have a form where the users submits url's. I need the url with http://
in
> the beginning. Since there is more
I am a perl user trying to convert to php
how would i turn this perl into php?
use CGI;
$name = param(name);
$address = param(address);
$phone = param(phone);
@required = qw( name address phone );
foreach $key($required)
{
if (!$$key) { &out("You left one empty."); }
}
??
If I understand the question correctly - came late to the thread - I
think the easiest way to do this would be to check for the presence of
"mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 20, 2001 4:29 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: Testing for the presence of HTML
Unfortuna
Hi,
which function would i use to check if a certain value is in the contents of
a variable?
I have a form where the users submits url's. I need the url with http:// in
the beginning. Since there is more data after the http:// i can´t just do a
simple if-statement. So what do i do?
After i dete
Pekesan wrote:
>
> Does anyone know how to detect if the client browser allows cookies or not?
>
> Thanks in advance.
Here's one way to do that
(This is from 'Professional PHP Programming' published by Wrox Press):
Step 1:
- send a set-cookie request
- reload current page
Step 2:
Sadly, I don't have access to the php.ini file on this server. I think I
can accomplish the task with some complicated switching of variable names.
At 01:16 PM 11/20/2001, Fred wrote:
>If you want certain variables to over ride cookie variables you need to
>change the setting of the variables_
Unfortunately, I also have users entering complex HTML code such as tables;
which, if each tag of a table is on a separate line, renders badly with
nl2br(). I mean, really badly. You have no idea.
My users range from professional web developers to people who are still
frightened by the idea
This may not actually be a problem. If you are expecting that users may
enter links as html you can still use nl2br and get a decent result. The
only time this would be a problem, would be if the users actually entered
as they filled in the form. In my experience, it is highly unlikely
that a
Does anyone know how to detect if the client browser allows cookies or not?
Thanks in advance.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EM
If you want certain variables to over ride cookie variables you need to
change the setting of the variables_order directive in php.ini:
variables_order string
Set the order of the EGPCS (Environment, GET, POST, Cookie, Server) variable
parsing. The default setting of this directive is "EGPCS". Se
Is it possible to use Oci-functions with Oracle 9i database ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Consider this code, in page1.php:
...and this code, in page2.php:
Click here< /a >");
?>
(In the actual code, the value of $someWord is passed via POST through a
form, but the principle is the same.)
The first time I load page2.php, the output should be:
someWord says: I am a cook
If you only want to show the ones variables that have values input by
the user, you could do this with the while loop:
while (list($var, $val) = each($HTTP_POST_VARS)) {
if ((strlen($val) > 0) && ($var !="email") && ($var !="SUBMIT") &&
(isset($var)) {
$message .= "$val
[EMAIL PROTECTED] (Joe Van Meer) wrote:
> Is there another way to do this...I'd like to be able to display html code
> on my php pages (code examples)
cant you use str_replace() or something?
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
try &&($val!="") instead of &&(isset($var)
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From: Raymond Lilleodegard [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 20, 2001 3:52 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] R
It works after modifying it a little. BUT... :) It lists all the variables
even if they aren't given any value. Is it possible to only get the defined
ones?
Regards Raymond
"Matthew Luchak" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
how about...
__
My database contains a field which may or may not contain HTML code,
depending on what a particular user enters when they enter the data.
Here's the challenge:
If there is HTML code in this field, then print the text with interpreted
HTML. No problem at all.
If there is no HTML code in the f
I may be wrong, but I believe that allow_url_fopen needs to be turned on in
the config file for this to work.
Fred
Mike Webby <[EMAIL PROTECTED]> wrote in message
011001c171f6$26da0380$0200a8c0@nay">news:011001c171f6$26da0380$0200a8c0@nay...
include ("http://www.somesite.com/somepage.html";);
W
Glad to help. I'd be interested to know how it works out.
Fred
Sjoerd Van Oosten <[EMAIL PROTECTED]> wrote in message
C9F89DA57491D511BDAF00E0180C348103BFF1@ESADM01">news:C9F89DA57491D511BDAF00E0180C348103BFF1@ESADM01...
> Fred thanks a lot, you really helped me out!
>
> ___
Are there any existing php-driven systems out there that allow people
who no nothing about html to create and maintain their own pages, such
as with a forms-based administrative interface?
Steven
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
how about...
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From: Raymond Lilleodegard [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 20, 2001 1:57 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: A tricky one?
Thanks for a
include ("http://www.somesite.com/somepage.html";);
Worked perfect on our unix box and our win98 machines but when we installed PHP on our
Windows server it no longer worked and tottaly ignored the include unless we used the
path
instead like.
include ("somepage.html");
[EMAIL PROTECTED]
Thanks for answering.
But this only works if the customer orders one of each. Do you know how to
do it if, lets say the customer order 2 hamburgers and nothing else?
Raymond
"Raymond LilleøDegåRd" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi!
>
> I'm
I just installed win2k to dual boot with 98 while I change over os's, I have
a script that connects to an access 97 DB via odbc_connect, it works fine
under win 98 but gives an error that it can't connect on win2000.(error
follows)
any ideas what I'm doing wrong, I have set up user and file dsn o
Hi!
I'm trying to make this form working with a mail() script.
I made this form. Then the customer could write how many "pizzas" or
"hamburgers" as he want.
But how do I solve this without too much headache? Havent slept for days
because of this problem : )
script
Fred thanks a lot, you really helped me out!
Sjoerd van Oosten
Digitaal vormgever [EMAIL PROTECTED]
Datamex E-sites B.V.
http://www.esites.nl
Minervum 7368 Telefoon: (076) 5 730 730
4817 ZH BREDA Telefax: (076) 5 877 757
___
"David Freeman" <[EMAIL PROTECTED]> wrote:
> SELECT * FROM My_Table ORDER BY Business_Name, Last_Name, First_Name;
>
> What I would _like_ to have happen is that the select list will end up
> sorted by business name as well as last name and then first name. At
> the moment this query is resulting
"Paul Schreiber" <[EMAIL PROTECTED]> wrpte"
> >From /var/log/httpd/error:
> [Mon Nov 19 19:53:19 2001] [notice] child pid 30261 exit signal Floating
> point exception (8)
> # uname -a
> Linux www 2.0.34 #1 Thu Feb 25 21:04:19 PST 1999 mips unknown
> # gcc -v
> Reading specs from /usr/lib/gcc-lib/
Alright. I was recently writting an attendance application for a school. I
wanted to beable to display attendance information from mysql in a calendar,
but I did not want to have to write the calendar script from scratch. I
must have looked at thirty or so calendar scripts before I found this o
Why would Apache foul up authentication requests when the following
.htaccess file is placed in my root directory:
AddType application/x-httpd-php html
All users who enter any subdirectory with a .htaccess authentication
requirement get a 401 error instead of the pop-up authentication re
(Hey, bug in Evolution. Hope it works now.)
Good Day,
refering to
/manual/en/language.variables.predefined.php
you write
"If the register_globals directive is set, then these variables will
also be made available in the global scope of the script; i.e., separate
from the $HTTP_*_VARS arr
I almost forgot that... you can refer to the form element by the objects
array, like this:
document.form[0].elements[1].value
"Sean Dougherty" <[EMAIL PROTECTED]> escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a curious problem that I don't have a clue how to solve t
If you just need the filename of the include file you can set it in code by
assigning it to a variable at design time. Something like $ThisPage =
"include.php". You could also do this for the entire path, but it would
need to be changed whenever you put the script in a different place.
Fred
G
1 - 100 of 148 matches
Mail list logo