Ok, I am back. My client has gone bought Wintel box, running XP. I have
downloaded and install Apache, Mysql, and PHP 4. But because 4 is a zip, I
have read the install.txt and have set up the httpd.conf but when I got to
check if php is working, I can see the inside of the file
I have look on
Here is an easy one click install you can download for free
http://www.nusphere.com/ (click download -- you have to register first)
It puts Apache, MySQL, php and perl all in the right places for you.
- Original Message -
From: "Chuck PUP Payne" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTE
Thanks I will try it. -- Chuck
On 3/19/02 2:15 PM, "Geoff Hankerson" <[EMAIL PROTECTED]> wrote:
> Here is an easy one click install you can download for free
>
> http://www.nusphere.com/ (click download -- you have to register first)
>
> It puts Apache, MySQL, php and perl all in the right pl
Have you put
Till: <[EMAIL PROTECTED]>
Skickat: den 19 mars 2002 17:43
Ämne: [PHP] include_once()
> Hello,
>
> I have a very long script with several functions in it. I wanted to split
> the script into several files, so I created two sub-scripts and one main
> script. This is the code from th
»Drew Lopucki« sagte am 2002-03-19 um 10:25:02 -0500 :
> Lots of people will tell you to use PGP. However since PGP is not *free*,
> in that you cannot use it for commercial purposes without a license, I avoid
> it. Also it has to be downloaded and installed as most systems do not
Well, use Gnu
»Marcel Besancon« sagte am 2002-03-19 um 13:04:38 +0100 :
> Hi everybody,
>
> is there someone who can tell me how to call a javascript-function by a
> php-script.
PHP creates HTML pages (mostly) which will be displayed by a client
and/or receives send pages/requests from a client.
There's
»Marcel Besancon« sagte am 2002-03-19 um 13:19:49 +0100 :
> meant ist the following. I have a script with a form. By submitting this
> form and checking out some values php should call a javascript-function
> (such as an alert). You see the php-script shall call the
Bad idea. On the one hand, PH
does anyone know a very flexible rating system, written in php of
course?
i have an application where i want to rate different data that the
application saves and may relate the data to each other.
I.e. a very active/known/famous/any-attribute user rates an item,
then this vote might weigh more th
At 3/19/2002, you wrote:
>Hi,
>I think the following lines could help you :
>
>$line = "Foobar foobar [EMAIL PROTECTED] foobar foobar";
>list($var1,$var2,$var3,$var4,$var5) = explode(" ",$line);
>echo "$var1 $var2 mailto:$var3";>$var3." ".$var4." ".$var5";
>more or less... i am a newbie in this st
I'm trying to force the browser to download a movie rather than open it up
and play it. Yesterday, Miguel kindly put me onto headers as being the way
to do this. Problem is I have an include at the top of the page and that
won't let me add in the necessary headers. The PHP manual says to use
buffe
Try www.zend.com in the application/code gallery. I've seen code that
does this...
On Tue, 19 Mar 2002, Vlad Kulchitski wrote:
> Hi,
>
> Can any1 send a small script of how to valiade a username using eregi().
>
> I want username to consist only a-zA-Z1-0, "_", and "-"
>
> I can't get it to wor
Hello, Its been a while since I have posted a question. Regards to all of you out
there supporting the best in the biz (php and the open source community).
I am wondering how to get the last resource ID from a call. I have a loop making
pg calls, the resource ID's vary of course. Looking fo
Hi,
Don't know if it's the best way, but it works:
will print 123,joe,123
Regards,
Mahmoud
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Isn't working because when you include the file it complains that it can't
send headers? Specially because there's an output on line X of the included
file? Like anything outside and/or echo, print, etc...?
Well, you could try to make a smaller version of the included file that
doesn't outpu
Kris Vose wrote:
>
> How would you write a regular expression that defines a phone number: ex.
>(123)123-1234.
>
> In other words how would you check to see if there were three numerics surrounded by
>(), then
> three numerics with a "-", then four numerics.
with posix regular expression, fo
Ob_end_clean is clearing the buffer and not sending any data to the browser. Use
ob_flush or ob_end_flush(). Output buffereing will take care of ordering the headers
so they'll still work even though the include may still be sending some output.
> -Original Message-
> From: Ian Wayne [
Hello there,
I have a 98 characters string (including spaces), wc -c says it's 98
characters and a file containing this string is 98 bytes as well.
For some reason - strlen() says it's more... it says it's a 104 characters
strings, when I removed the spaces (using sed on the shell and using
s
Well, how are you putting it into the string?
On Tue, 19 Mar 2002, Gil Disatnik wrote:
> Hello there,
>
> I have a 98 characters string (including spaces), wc -c says it's 98
> characters and a file containing this string is 98 bytes as well.
>
> For some reason - strlen() says it's more... it s
Once I say \n as strlen() = 2, if I remember correctly. Definitively not
1.
Any whitespaces, tabs, newline, or similar inside? strlen() count them
different.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.subma
Vlad Kulchitski wrote:
>
> Hi,
>
> Can any1 send a small script of how to valiade a username using eregi().
>
> I want username to consist only a-zA-Z1-0, "_", and "-"
>
> I can't get it to work correctly
$pattern = "[a-zA-Z0-9_\-]+";
this is meaning :
One word containing a-z or A-Z or 0-9 or
Good day,
Could you post this mystery string so that we could help you?
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948
-Original Message-
From: Gil Disatnik [mailto:[EMAIL PR
I have a log of IP numbers that come to WEBSITE A
$sql = "INSERT INTO `access` (`accessID`, `accessIP`, `accessDNS`, `accessTIME`,
`accessUPDATE`, `accessVIEW`) VALUES ('', '$proxy_ip', '$proxy_dns', '$add_date',
NOW(NULL), '0')";
This has worked well, how ever when someone comes back with the
Hi Guys,
What does this error means
-
Warning: Cannot send session cookie - headers already sent by (output started at
/home/web/public_html/karthik1.php:7) in /home/web/public_html/karthik1.php on line 35
Warning: Cannot send session cache limiter - headers already sent (outpu
Select before to see if exists:
if (db_num_rows() > 0) {
// Update view where ip = visitor_ip
} else {
// Normal insert
}
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wl
Hi!
I have read several tricks of how to remove white spaces but how to create
them?
I wan´t to build a normal textmail like this:
$message="
productitemspriceamount
book22550
cd-rom 31545";
mail($recipient, $subject, $messa
> I'm trying to force the browser to download a movie rather than open it up
> and play it. Yesterday, Miguel kindly put me onto headers as being the way
> to do this. Problem is I have an include at the top of the page and that
> won't let me add in the necessary headers. The PHP manual says to u
On Tuesday, March 19, 2002, at 02:56 PM, karthikeyan wrote:
> What does this error means
>
> -
> Warning: Cannot send session cookie - headers already sent by (output
> started at /home/web/public_html/karthik1.php:7) in
> /home/web/public_html/karthik1.php on line 35
>
> Warnin
if (db_num_rows() > 0) {
mysql_query("UPDATE access SET access VIEW= accessVIEW+1 WHERE accessIP
= accessIP"); // Update view where ip = visitor_ip
} else {
$sql = "INSERT INTO `access` (`accessID`, `accessIP`, `accessDNS`,
`accessTIME`, `accessUPDATE`, `accessVIEW`) VALUES ('', '$pr
Of course.
Following is a part Hebrew part English text I have in my phorum, it
probably won't look good on a system without Hebrew support.
String on a file:
--->snip<---
îé ùøåöä îåæîð/ú ìëúåá àú ùìå...(àí éù).
370304 - DooG
îäçìåöéí P-:
NP - King Crimson - Beat
---
Use "\t" in your string. \t is will put in a tab.
On Tue, 19 Mar 2002, [iso-8859-1] Jan Grafström wrote:
> Hi!
> I have read several tricks of how to remove white spaces but how to create
> them?
>
> I wan´t to build a normal textmail like this:
> $message="
> productitemspriceamoun
Here is my situation:
I've got HTML Templates that I'm using to parse and presents
the end result to the user.
Here is my dilemma:
I need to take what is presented to the user (ie, the data less the
HTML tags but maintaining the formatting) and turn it into a PDF
file.
I know I can use PDFLib
On Tue, 19 Mar 2002, [iso-8859-1] Jan Grafström wrote:
> Hi!
> I have read several tricks of how to remove white spaces but how to create
> them?
>
> I wan´t to build a normal textmail like this:
> $message="
> productitemspriceamount
> book22550
> cd-
Think you could post a base64_encode() version of that string?
On Tue, 19 Mar 2002, Gil Disatnik wrote:
> Of course.
> Following is a part Hebrew part English text I have in my phorum, it
> probably won't look good on a system without Hebrew support.
>
> String on a file:
> --->snip<
>
> How do I write to get the tab spaces?
> --
Use \t
visit http://www.php.net/manual/en/language.types.string.php for more
details
Regards,
Mahmoud
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> if (db_num_rows() > 0) {<= WHERE DOSE THIS VERABLE COME FROM?
This is just a count of the returned rows you have to make.
First, do something like this:
SELECT ip FROM table WHERE ip = visitor_ip;
If it returns 0 rows, it means you don't have the ip and need to store,
otherwise ju
Does anyone have examples of record deletions from php to mysql?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Not entirely true. Javascript is directly linked to HTML and HTML is
directly linked to PHP so you can have PHP talk to Javascript through
HTML.
So here's a very simple example of a Javascript and PHP script (on
separate servers) talking to one other...
---
At 19.03.2002 21:40, you wrote:
>
>Hi!
>I have read several tricks of how to remove white spaces but how to create
>them?
>
>I wan´t to build a normal textmail like this:
>$message="
>productitemspriceamount
>book22550
>cd-rom 315
Alexander,
This is a fairly condescending reply given that the license statement for
PGP is present on every download screen from which it is available. Careful
not to hurt my feelings please :( After all, I went to a lot of trouble
looking all these things up very carefully when I implemented
On Tue, Mar 19, 2002 at 09:40:17PM +0100, Jan Grafström wrote:
> Hi!
> I have read several tricks of how to remove white spaces but how to create
> them?
>
> productitemspriceamount
> book22550
> cd-rom 31545
I'd avoid using
With less preach and more answer
Using chr(9) will give you a tab
';
echo 'TAB'.chr(9).'TAB'.chr(9).'TAB';
echo '';
?>
cheers
-Original Message-
From: Analysis & Solutions [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 1:29 PM
To: PHP List
Subject: Re: [PHP] How do I make ta
»Drew Lopucki« sagte am 2002-03-19 um 16:19:50 -0500 :
> This is a fairly condescending reply given that the license statement for
> PGP is present on every download screen from which it is available. Careful
I stand corrected. Because of the IDEA patent by ASCOM, you're only
allowed to use it
Hi,
I'm trying to install GD2 in PHP, and can't get it compiled. It keeps
saying:
In file included from gd.c:36:
php_gd.h:69: warning: static declaration for `gdImageColorResolve'
follows non-static
gd.c:92: conflicting types for `gdIOCtx'
/usr/include/gd_io.h:18: previous declaration of `gdIOCt
At 10:47 PM +0100 19/3/02, Jeroen Geusebroek wrote:
>I'm trying to install GD2 in PHP, and can't get it compiled. It keeps
>saying:
>
>In file included from gd.c:36:
>php_gd.h:69: warning: static declaration for `gdImageColorResolve'
The following patch fixed it for me:
diff -r -U3 php-4.1.2/ex
Ok, lets say I have some code here:
$result = array();
$ch = curl_init ("https://www.myverificationplace.com/verify.asp";);
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, $args);
curl_setopt ($ch, CURLOPT_TIMEOUT, 120); // Set the timeout, in seconds.
curl_setopt ($ch
On Tuesday, March 19, 2002, at 03:48 PM, Chris Boget wrote:
> I need to take what is presented to the user (ie, the data less the
> HTML tags but maintaining the formatting) and turn it into a PDF
> file.
>
> I know I can use PDFLib to turn data into a PDF. However, it
> doesn't understand HTM
I'm having a problem with file uploads via a HTML form. I've no luck getting
it to work. After a bit of research I think I've determined that the problem
lies with my host having safe mode enabled and setting a open_basedir that
is outside my scope. Here is my upload test page which is a direct li
This is an revision of my previous message:
Ok, lets say I have some code here:
$result = array();
$ch = curl_init ("https://www.myverificationplace.com/verify.asp";);
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, $args);
curl_setopt ($ch, CURLOPT_TIMEOUT, 120); //
(this code not tested)
this isn't going to work properly if the "value" part has an "=" in it - in
that case, change the explode("=", ...) line to use strtok() or
strpos()/substr()
HTH
Martin
-Original Message-
From: Keith Posehn [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20,
Forgive me for the off topic question. This is a MySQL question.. has
nothing to do with PHP directly. However I was not able to find an
answer in the MySQL documentation, on Usenet, or the MySQL mailing list
archives. Also MySQL.com's mail manager is on the fritz so I can't
even subscribe to
I believe it is:
describe tablename;
- Original Message -
From: "Kevin Stone" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 19, 2002 4:43 PM
Subject: [PHP] Return the column names of MySQL table?
> Forgive me for the off topic question. This is a MySQL question.. has
Or if you want to do this within PHP use the mysql_list_fields function.
On Tue, 19 Mar 2002, Geoff Hankerson wrote:
> I believe it is:
> describe tablename;
> - Original Message -
> From: "Kevin Stone" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, March 19, 2002 4:43 PM
On Tuesday, March 19, 2002, at 05:43 PM, Kevin Stone wrote:
> I simply need to return a list of column names of a MySQL table. What's
> the syntax to do that?
SHOW COLUMNS FROM tablename;
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing
Philip thanks for the tip-off to the mysql_list_fields() function.. that
simplifies things quite a bit. Problem solved. :)
I'm still wondering about the other method though. I noticed the
"DESCRIBE table_name" method in the MySQL docs but couldn't figure out
how to use it. Alone it seems to re
»Kevin Stone« sagte am 2002-03-19 um 14:11:42 -0700 :
> Not entirely true. Javascript is directly linked to HTML and HTML is
> directly linked to PHP so you can have PHP talk to Javascript through
> HTML.
I still don't agree. You can of course create JavaScripts dynamically
in PHP. However, PH
I need help -
I'm having a problem, Everyone using the new explorer 6 seems to be having
problems with a certain part of my site. We are using PHP's graphic library,
but instead of creating images using PHP (which we can do but they suck),
we're using the library to reference existing images.
Th
Hi!
When a user sends data from a , how can I detect which charset the
browser used to send the data to the server? Can I assume that it's
always the same as the first charset in HTTP_ACCEPT_CHARSET?
Hmm, no, doesn't seem like it. At least not in Galeon when I reset the
charset manually. :(
I
On Tue, 19 Mar 2002, Analysis & Solutions wrote:
> On Tue, Mar 19, 2002 at 09:40:17PM +0100, Jan Grafström wrote:
>> I have read several tricks of how to remove white spaces but how to create
>> them?
>>
>> productitemspriceamount
>> book22550
>> cd-rom
20/03/2002 10:01:25 AM
Hi all. I need a FTPd that I can easily add/remove users from
using PHP. What would you suggest is the best one?
I've tried pro-ftpd but I can't work it out, the documentation is
crap. I've tried pure-ftp but it's documentation is also quite
vague.
Thanks for your hel
On Wed, 20 Mar 2002, Martin Towell wrote:
> (this code not tested)
>
> $res_arr = explode("\n", $result);
> $res_num = count($res_arr);
> for ($i = 0; $i < $res_num; $i++)
> {
> list($k, $v) = explode("=", $res_arr[$i]);
> $$k = $v;
> }
> ?>
>
> this isn't going to work properly if the "val
Okay... Looks like I'm an idiot... I thought it was a PHP issue and its a
security thing with explorer. The people that are complaining must have the
new cookie feature set to high or more!
Sorry!
And Thanks for setting me straight!
Chris
> I need help -
>
> I'm having a problem, Everyone usin
Does this code go above the delete statement ?or is it added to the delete
statement.
is deleteuser part of the script or do I replace it with my db name. I'm
alittle slow with php and mysql. TIA for your patience.
thanx
**DAN**
Yes,
I read the documentation and took close note to include the start and end
tags...
Thanks,
__
Mauricio Cuenca
- Original Message -
From: "anders nawroth" <>
To: "Mauricio Cuenca" ; <[EMAIL PROTECTED]>
Sent: Tuesday, March 19, 2002 2:26 PM
Subject: Re: [PHP] inc
No I haven't.
Wouldn't this affect my entire web site ?
I just need to include the files into a single script.
Thanks,
__
Mauricio Cuenca
- Original Message -
From: "Neil Freeman"
To: "Mauricio Cuenca"
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, March 19, 2002 12:30 PM
Su
is it possible to send the code - or snippets of the code - so that someone
might be able to spot the error
something that you might want to look at is whether the included file has a
parse error - the set up in this company allows the "parent" script to
continue to run, even if the "child" scrip
On Tue, 19 Mar 2002, Pekka Saarinen wrote:
> I need to search text for @ and replace the mail address around it (i.e.
> text between previous and following spaces) so that if I have text
>
> Foobar foobar [EMAIL PROTECTED] foobar foobar.
>
> It'll convert it to
>
> Foobar foobar mailto:[EMAIL
On Wed, 20 Mar 2002, John Clarke wrote:
> I have used the following script successfully for a year now, but have just
> found a problem with the date 2002-03-31.
> When I add 0 days to this date it returns 2002-03-31.Correct!
> When I add 1 day to this date it still returns 2002-03-31.
I have used the following script successfully for a year now, but have just
found a problem with the date 2002-03-31.
When I add 0 days to this date it returns 2002-03-31.Correct!
When I add 1 day to this date it still returns 2002-03-31.NOT Correct
n I add 2 days to this date it retur
Tuesday, March 19, 2002, 2:51:33 PM, Alexander wrote:
AS> Well, use GnuPG. Then you can use "PGP". And what you stated above is
Just some advice if you go with GPG and you don't have root/chown
access.
Since you'll create your keyring under your user, you'll likely have
to run PHP as a CGI so
hi there,
can someone tell me how i can get my php script (which is run via a console,
rather than a browser) to read the settings i've included in php.ini.
is this possible?
thanks for the help!
a
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
John Clarke <[EMAIL PROTECTED]> wrote:
> Any ideas why this would be happening?
because 2002-03-31 is 25 hours long in your time zone?
http://www.dstc.qut.edu.au/DST/marg/daylight.html
jim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
when I tested that code, the adding of 1 day did NOT work, but adding 2 days
DID, sorta, work (it added 1 day)
to "fix" it, I found that I had to add one hour (3600) to the date - maybe
there's something to do with daylight saving??
-Original Message-
From: John Clarke [mailto:[EMAIL PRO
Before you shoot/flame me, I assure you this is not the topic you think it
is. I just want everybody to be aware that if you do a search for the
literal string .NET on google, you pull up php.net
I think one could extrapolate that this maybe one of the most popular .net
pages on google, and when t
Hello all,
just thinking about making a small control panel for my server so i can do
the web hosting related things from the web... would php be a good language
to do this in and if so why?.. what would be the ups and downs?
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
Thanks guys. You were right. I have been playing around and just found an
extra 3600 seconds on 31/3/2002.!!!
Thats a trap for us young players.
Will develop a creative fix.
Does this mean that there is a day with only 23 hours somewhere Though
this wouldnt cause a problem I guess.
Thanks
On Wed, 20 Mar 2002, Paul ... wrote:
> just thinking about making a small control panel for my server so i can do
> the web hosting related things from the web... would php be a good language
> to do this in and if so why?.. what would be the ups and downs?
The fastest way would be to download We
On Tue, Mar 19, 2002 at 05:38:50PM -0700, Dan Vande More wrote:
> Before you shoot/flame me, I assure you this is not the topic you think it
> is. I just want everybody to be aware that if you do a search for the
> literal string .NET on google, you pull up php.net
> I think one could extrapolate
I'm trying to use some header functions to force the browser to download
quicktime movies. I have a small piece of code that takes the relevant file
name from the url and then uses that in the header function. This code sits
in get.php. Unfortunately, all I download when I click the link is get.ph
> Does this mean that there is a day with only 23 hours somewhere
That would be the corresponding day at the end/start of the year (depending
on which hemisphere you're in)
-Original Message-
From: John Clarke [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 12:37 PM
To: [E
I agree. Unless there isn't a product which matches your needs I
personally would consider my time better spent contributing to a project
that has only a short distance left to go rather then starting a new
project which would take months/years before perfection (if there is
such a thing)
Onto m
Well, this is a fairly simple problem. I'm having problems with escaping a
string, and then ending the string right after the escape! For example,
echo "Then Johnathan said, \"That's exactly what I said!\"";
I get a parse error on the line where the string is. Very simple problem, I
just can't s
On Tue, 19 Mar 2002, Dr. Shim wrote:
> Well, this is a fairly simple problem. I'm having problems with escaping a
> string, and then ending the string right after the escape! For example,
>
> echo "Then Johnathan said, \"That's exactly what I said!\"";
>
> I get a parse error on the line where t
Hmmm. How about this?
echo "";
"Miguel Cruz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Tue, 19 Mar 2002, Dr. Shim wrote:
> Well, this is a fairly simple problem. I'm having problems with escaping a
> string, and then ending the string right after the e
On Tue, 19 Mar 2002, Ian Wayne wrote:
> I'm trying to use some header functions to force the browser to download
> quicktime movies. I have a small piece of code that takes the relevant file
> name from the url and then uses that in the header function. This code sits
> in get.php. Unfortunately,
You need to remove the second echo.
On Tue, 19 Mar 2002, Dr. Shim wrote:
> Hmmm. How about this?
>
> echo " . "\">";
>
>
> "Miguel Cruz" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Tue, 19 Mar 2002, Dr. Shim wrote:
> > Well, this is a fairly simpl
On Tue, 19 Mar 2002, Dr. Shim wrote:
> Hmmm. How about this?
>
> echo " . "\">";
You're concatenating "echo $PHP_SELF" rather than just $PHP_SELF, which
isn't necessarily helping. But just between me and you, life would be a
lot easier if you simply did:
echo '';
miguel
--
PHP General Mai
Thanks, it worked. But now I have to update PHP from 4.06 to 4.12. But I am
point I can start working on their intranet.
Chuck Payne
on 3/19/02 2:15 PM, Geoff Hankerson at [EMAIL PROTECTED] wrote:
> Here is an easy one click install you can download for free
>
> http://www.nusphere.com/ (click
Strangley enough, $PHP_SELF is empty. Nothing appears when I do it the way
Bob and you suggested, the "action" property equals "".
"Miguel Cruz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Tue, 19 Mar 2002, Dr. Shim wrote:
> Hmmm. How about this?
>
> echo
> -Original Message-
> From: Miguel Cruz [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 19, 2002 5:49 PM
> To: Paul ...
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] building a control panel in php
>
> On Wed, 20 Mar 2002, Paul ... wrote:
> > just thinking about making a small control
Are you inside a function, having neglected to do
global $PHP_SELF;
?
miguel
On Tue, 19 Mar 2002, Dr. Shim wrote:
> Strangley enough, $PHP_SELF is empty. Nothing appears when I do it the way
> Bob and you suggested, the "action" property equals "".
>
> "Miguel Cruz" <[EMAIL PROTECTED]> wrot
Hello all,
I am requesting expressions of interest from developers in Adelaide South
Australia who are available to do short term contract work skills required
are:
Dreamweaver/Fireworks
HTML
PHP/PEAR
Smarty template engine
mySQL
Linux an advantage
If you have a high level of experience in the
hi folks,
how does php+apache behave when the client makes an HEAD request ?
~-n
--
Enrico Weigelt== meTUX IT services
software development, IT service, internet security solutions
www: http://www.metux.de/phone: +49 36207 519931
email: [EMAIL PROTECTED]
*screams, "I'm such a newbie!!"*
I didn't know I had to declare $PHP_SELF with "global" before using it
inside a function. Sorry! Works now! Thanks very much! =)
"Miguel Cruz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Are you inside a function, having negl
I have to upload files.
My scripts don't work with large files.
On the "Chapter 19. Handling file uploads" from the php.net doc I found the
following comments :
[EMAIL PROTECTED]
26-Feb-2002 08:24
When uploading large files, I've found that the memory limit has to be
twice as large as the uplo
I have tried several variations within PHP to reload the page after
updating a form to PHP_SELF. Does anyone have a working example within a
form AFTER a submit ?
**DAN**
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Do you get a PHP or a SQL error? I had this problem, but my problem was
MySQL, not PHP (i.e. PHP handles uploads > 2MB and MySQL doesn't by
default). The error I got was "MySQL server has gone away" or something
similar.
Bogdan
[EMAIL PROTECTED] wrote:
>I have to upload files.
>My scripts do
I'm doing some replacing with str_replace, but it's case sensitive. Is
there any way to make it not case-sensitive?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
use ereg_ireplace() or preg_ireplace() (the latter I'm not sure exists, but
the former function does)
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 4:16 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Case non-sensitive replacing with str_replac
On Wed, 20 Mar 2002, Martin Towell wrote:
> use ereg_ireplace() or preg_ireplace() (the latter I'm not sure exists,
> but the former function does)
Close - it's eregi_replace().
To use preg_replace case-insensitively, just toss an 'i' at the end of
your pattern. Instead of:
preg_replace('/a
on 3/20/02 12:24 AM, Martin Towell at [EMAIL PROTECTED] wrote:
use ereg_ireplace() or preg_ireplace() (the latter I'm not sure exists, but
the former function does)
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 4:16 PM
To: [EMAIL PROTEC
101 - 200 of 213 matches
Mail list logo