Hi!
Thanks for your kind response. The solution given by u is fine.
But Iam asking just more than that. See whenever I call a function
like
Draw_Image();
( In language construct level )
Is there anything to checks this non-existence of Draw_Image() and call
some default functio
What do you mean by 'hidden'? If you're talking about a hidden form input,
how can it not be post?
Bogdan
Floyd Baker wrote:
> Hi..
>
> Got 4.1.1 going and think it's going to work fine. Except for this.
>
> A form calls itself and then uses the menu selection to route through
> a switch to va
Sorry if I miss something, but have you posted this message on this list before?
I don't understand a thing from your e-mail...
Bogdan
Al Fujii wrote:
> Sorry for being a pain. However I need to see if someone can answer my
> question.
>
> >>
> >>I am trying to delete files using "web expl
Hi..
Got 4.1.1 going and think it's going to work fine. Except for this.
A form calls itself and then uses the menu selection to route through
a switch to various refresh redirects...
'Hidden' isn't working and it's not post, get, cookie, etc. Can it be
done?
TIA
Floyd
--
--
PHP
also, find out if there is a linux users group in your area. in addition to
holding group hacks and install fests, our group maintains a mailing list
that's a great source of help.
on 1/16/02 12:25 PM, Miles Thompson at [EMAIL PROTECTED] wrote:
> Book, I don't know. I'd suggest starting with the
Sorry for being a pain. However I need to see if someone can answer my
question.
>>
>>I am trying to delete files using "web explorer" THere is a section in
>>the
>>code that states the following...
>>
>>Can I include a shell script into it? Or it is neccessary. I know I have
>>permiss
on 1/16/02 6:04 PM, Rasmus Lerdorf at [EMAIL PROTECTED] wrote:
>> On Thu, 17 Jan 2002, [EMAIL PROTECTED] wrote:
>>
>> (1) avoid using .inc files; use .php files like for normal script
>
> No, it is safer to block access to .inc files with an httpd.conf rule.
> Allowing people to execute files th
Justin,
If your PHP script is placing the files there, they are owned by the 'web'
user. The web user doesn't have permission to change the file ownership
to you, but for your purposes all you should need to do is change the file
permissions in your PHP script after the file is uploaded:
chmod(
try calling session_start() as the very first thing in your php script.
- Original Message -
From: "René Fournier" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 7:41 PM
Subject: Re: [PHP] Mac OSX !?!?!?
> Somebody sugges
Hi,
I was implementing this solution a while back.
It works on Linux/Apache/PHP 4.0.6
but during testing on my Win2000/Apache/4.0.6 it doesn't.
I think my php.ini are all aligned.
Any thoughts?
At 09:06 AM 1/4/2002, Jonathan David Edwin Wright wrote:
>It's actually alot easier that you think!
>
Hi,
I have a script which uploads an image to a directory within web root
(on Redhat 7.0). Whilst the dir itself was created via FTP, the images
of course have been written to the dir via a PHP script.
When I try to FTP a copy of the images down to my local hard disk, I get
"permission denied".
Somebody suggested I post the source--good idea! So here it is... The
header.inc file, in its entirety:
Site :: Jupiter :: Europa
Europa"; }
if ($table) { echo " : Tables"; }
Somebody suggested I post the source--good idea! So here it is... The
header.inc file, in its entirety:
Site :: Jupiter :: Europa
Europa"; }
if ($table) { echo " : Tables"; }
Hi,
Im having problems with the gzinflate and gzdeflate commands...
I am trying to deflate a string of email addresses... If I only have one
email address it will deflate and then inflate...
If I add another email address to the string then when i try to inflate
the string I get a buffer erro
I also just discovered how to check for these keys with no value as isset() will
return false:
"bar");
$arr["foo"] = NULL;
print_r($arr); // you can see "foo" is still there
if (array_key_exists("foo", $arr))
{
echo("it's there!");
}
?>
bvr.
===
> > (1) avoid using .inc files; use .php files like for normal script
>
> No, it is safer to block access to .inc files with an httpd.conf rule.
The way I approach this, besides blocking execution, is to put any
sensitive files in a directory above the Document Root for the virtual
domain. PHP
> On Thu, 17 Jan 2002, [EMAIL PROTECTED] wrote:
>
> > I've seen a number of sites for example that didn't have the .inc extension
>registered,
> > include() doesn't care about that, but if your includes are under the document
>root of your
> > website (that happens a lot too, i don't know why ?
Kind of hard to say without source code for the session part.. Although the
MySQL warnings, I got those because MySQL does not automatically start in
OSX, if you know it's started then Im not sure, but if not.. go here to get
the autostart utility:
http://www.entropy.ch/software/macosx/mysql/
T
Can someone PLEASE explain why I get the following error message under
OSX (PHP+MySQL), but not under Windows ME or Linux?
Warning: Cannot send session cache limiter - headers already sent
(output started at
/Users/rene/Sites/smartslitters/jupiter/europa/header.inc:6) in
/Users/r
On Thu, 17 Jan 2002, [EMAIL PROTECTED] wrote:
> I've seen a number of sites for example that didn't have the .inc extension
>registered,
> include() doesn't care about that, but if your includes are under the document root
>of your
> website (that happens a lot too, i don't know why ?) and you
On Thu, 17 Jan 2002, [EMAIL PROTECTED] wrote:
> I've seen a number of sites for example that didn't have the .inc extension
>registered,
> include() doesn't care about that, but if your includes are under the document root
>of your
> website (that happens a lot too, i don't know why ?) and you
Apart from unfortunately placed ?> 's or " 's this is possible.
A very common mistake is not to register all of your php file extensions with apache.
I've seen a number of sites for example that didn't have the .inc extension registered,
include() doesn't care about that, but if your includes a
yeah, like strpos() you still could have gotten from the manual.
strncmp() does it exactly, like strpos() but only searches the beginning,
note that it returns false for matching strings for use in some sorting functions.
bvr.
On Wed, 16 Jan 2002 10:58:16 -0800 (PST), Police Trainee wrote:
Well that works. But its a little bizzare. I have to do that to get the
content of a node even when that node has no children...
e.g.
SOME TEXT GOES HERE
So even if the current node is "morestuff" I still have to do the
currentnode->children etc. blah.
which is a bit dodge
Anas Mughal wrote:
> Does anybody know if I need to be concerned about
> version conflicts between the PHP executable and a
> dynamically loadable module?
> (e.g. my web hosting company's server is running PHP
> 4.0.3pl. Would it be okay for me to build a dynamic
> extention using PHP 4.1.1 and ru
So Far, based on what feedback I have been given, these books are what I'll
probably buy:
'Linux System Administration (Linux Library)'
'LPI Linux Certification in a Nutshell'
'Hacking Exposed'
(second addition, first is said to be 'avoided', the second 'excellent')
'Hacking Linux Exposed
Does anybody know if I need to be concerned about
version conflicts between the PHP executable and a
dynamically loadable module?
(e.g. my web hosting company's server is running PHP
4.0.3pl. Would it be okay for me to build a dynamic
extention using PHP 4.1.1 and run it on the server.)
=
Ana
Placing it in quotes made it show up correctly in phpinfo(), however it still
sits there if the email address is bad. For example, a domain that doesn't
resolve.
--
Ben Sinclair
[EMAIL PROTECTED]
- Original Message -
From: "Ben Sinclair" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent:
This is a good one I just learned last week -- unset the variable. That
is,
unset($Arr[2]);
or
unset($Arr['cyanide']);
from what I understand, the discovery of this easy way to do this was
accidental. See the second annotation of "array_splice()" in the PHP
manual here for the details:
Anas Mughal wrote:
> Yasuo,
> I have created the module skeleton using the ext_skel
> script. I don't have any problems doing that.
> I am not able to create the dynamically loadable
> module library. Were you ever able to create a
> dynamically loadable module?
> How did you do it?
> Did you use
Actually, I can't do that. Which is the whole problem I'm having. PHP fails when
I try to pull the image field out of my database. After talking to others I
thought it might be the @@textsize variable in MSSQL unfortunately setting it to
a lower value did not solve my problem. I have recently spok
It basically comes down to speed. While there is nothing "Technicaly" wrong
with storing the images in the database, accessing the images will become
slower as the database gets larger, than if the files were stored on the
filesystem. Whether or not this degredation of performance is acceptable or
I just noticed from phpinfo() that sendmail_path reads:
/usr/sbin/sendmail -t -i -O DeliveryMode
Did it really drop the "=a" or is it just a problem with phpinfo()?
--
Ben Sinclair
[EMAIL PROTECTED]
- Original Message -
From: "Ben Sinclair" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
S
I changed my sendmail line to: sendmail_path = /usr/sbin/sendmail -t -i -O
DeliveryMode=q
That should place it in the queue instead of trying to send it immediately,
right? It doesn't seem to work though... It still just sits there when it can't
send the mail.
--
Ben Sinclair
[EMAIL PROTECTED]
$Str = apple,orange,cyanide,bananna
$Arr = split(",",$Str);
How do I remove the unwanted value from the array?
(in this example, Cyanide ($Arr[2]) from the Fruit array)???
Thanks.
array_splice()???
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
Um... yes... you would need the $_POST array if register_globals is off...
but since it's not off by default yet... :)
On Wed, 16 Jan 2002, Erik Price wrote:
> Ah, good call.
>
> Although, in your third example (the one where you say "Then you might
> as well just do this:"), you are using the $
Joe (And/Or others),
We are storing the actual images in the DB. We did not want our pictures to be
on our webserver. Instead we felt it would be better to keep them on the
database server. In order to do this, they had to be stored in the database
itself since the database server is not accesibl
Fix your sendmail flags in your php.ini file to just queue up the mail.
On Wed, 16 Jan 2002, Ben Sinclair wrote:
> Is there a way to shorten the timeout for the mail() function? Currently it
> will wait too long when it is unable to send mail, causing the browser to
> appear to hang.
>
> --
> Be
> You can see where I'm going with this.
> Experiments of mine with using array elements within SQL statements
> brought some of my questioning to the list just last week. I found that
> the following did not work:
>
> $sql = "SELECT table.column FROM table WHERE criteria LIKE
> $myrow['variable'
Ah, good call.
Although, in your third example (the one where you say "Then you might
as well just do this:"), you are using the $variable without the $_POST
array -- with register_globals off, don't I have to use the $_POST array?
But I see what you're saying, that I need to do some checking
You mispelled the closing "" tag.
On Wednesday, January 16, 2002, at 04:33 PM, Nick Wilson wrote:
>
> * On 16-01-02 at 22:29
> * Richard said
>
>>
>> Hi there
>>
>> I just signed up for an account at Spaceports so I can play with PHP
> I
>> placed some PHP code in an HTML page and upl
Just out of curiosity, what is the name of your page? It might be as
simple as making sure it has a .php extension on your page. If it has
an .html extension it won't work properly. Just a thought; I could be
wrong about this.
Nick Wilson wrote:
> * On 16-01-02 at 22:29
> * Richard said.
hmmm... not sure about the cgi part. you'll probably need to start the file
with something like
#!/usr/loca/bin/php -q
either way, within the file, you also need to tell the php parser what is
php and what is html. surround the php code with tags like
on 1/16/02 2:25 PM, Richard at [EMAI
Hank,
> basically tabs and line breaks disappear ... almost like it's treating
> the message as html .. whitespace is history.
=I haven't gone back to the RFC to see what the rules about tabs are - but then when
does M$ follow 'the rules'
(Outlook).
=are you using a *nix box? There is a differ
* On 16-01-02 at 22:29
* Richard said
>
> Hi there
>
> I just signed up for an account at Spaceports so I can play with PHP I
> placed some PHP code in an HTML page and uploaded it to the server.
>
> But when I checked it in my browser I got the error message: can¹t parse
> line 1
>
>
Send me your example page and I will be able to tell you what you did wrong
and what to watch for. :)
Thanks!
Rick
"Too much caution is bad for you. By avoiding things you fear, you may let
yourself in for unhappy consequences. It is usually wiser to stand up to a
scary-seeming experience and w
Hi there
I just signed up for an account at Spaceports so I can play with PHP I
placed some PHP code in an HTML page and uploaded it to the server.
But when I checked it in my browser I got the error message: can¹t parse
line 1
Line 1 is simply the tag!!
On one of their user forums someone
My advice would be to do it like this:
$variable = $_POST['variable'];
// some PHP code that validates that $variable is something reasonable
$sql = "SELECT table.column FROM table WHERE criteria LIKE $variable";
If you just do this:
$sql = "SELECT table.column FROM table WHERE criteria LIKE ${
The entire page, PHP with HTML, is sent to the PHP engine. It follows
the instructions of the PHP code, outputting only HTML and error
messages, and then hands the data to the web server which sends it to
your browser. Unless something damages the PHP engine, causing the
webserver to serve t
Is there a way to shorten the timeout for the mail() function? Currently it
will wait too long when it is unable to send mail, causing the browser to
appear to hang.
--
Ben Sinclair
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Has anyone written (or know of something) that works
similar to business objects that is written in PHP?
Chris
--
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-ma
PHP is a server side language so the PHP engine parses all the php code in
your webpage and then spits out html code. So when surfing through a
website that uses PHP you will never see PHP code unless of course you
screwed up and echoed the data :)
Rick
"How wonderful it is that nobody need wai
The PHP code is parsed and interpreted at the server level, and then returns
only the output to the browser. It is not possible to view PHP code via
"view source".
- Original Message -
From: "Phil Schwarzmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 1
$m = 11;
$y = 2001;
$ts = mktime(0, 0, 0, $m, 1, $y);
$rightNowTs = time();
while( $ts < $rightNowTs ) {
print( date("F j, Y", $ts) . "");
$m += 1;
$ts = mktime(0, 0, 0, $m, 1, $y);
}
will print out:
November 1, 2001
December 1, 2001
January 1, 2002
On Wed, 16 Jan 2002
Well, if you do "View Source" on any browser, it will only show the
source code of the HTML that the page has rendered, not the
PHP/Perl/ASP/Cold Fusion/whatever that was used to generate the HTML
code. So using "View Source" will never show you the programming behind
the HTML.
That said, I
Okay, all of that discussion of predefined variables was well and good.
I'm going through my code and changing everything over to use
$_*['variablename'].
The problem is that a good deal of my code consists of MySQL query
statements with variables inside those statements. An example:
$sql =
How easy/hard is it to view the PHP source code when you're at website?
I noticed when I was using Internet Explorer, if I pressed "view
source"...it would show the HTML but not the PHP.
-Phil
Phil,
> After I make a queryhow do I fetch a specific row from that query ??
=isn't the purpose of the query to return specific results?
=dn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To c
Jimmy,
> > However it is also possible that in order to save time the LAST_ID
> > information is built into the resultset coming back from the INSERT -
> > thus when mysql_insert_id() is called PHP would not need to go back
> > to MySQL/last_insert_id().
>
> yes, what you said could be true also
function getNodeContent ($node) {
$content = '';
$nodechild = $node->children();
if ( is_array( $nodechild ) ) {
reset ($nodechild);
while (list (, $val) = each ($nodechild)) {
if ( $val->type == XML_TEXT_NODE ) {
$content .= $val->content;
Paul,
The obvious question is "Why do that?" If there is a certain criteria you
want to meet, it's generally better to do that in your select statement.
Having got that out of the way,
$result = mysql_query("SELECT * FROM a_table");
$num_rows = mysql_num_rows($result);
returns the number of
After some trial and [much] error, I finally have the latest version of
PHP (4.0.6??) and MySQL running under Mac OSX 10.1.2. And they seem to
be working... sort of.
The only problem is when I try to load some pages that use the PHP
Session ID function. Now, these exact pages--the whole site i
I'm not sure what you mean by the session is still active, but if you mean
that the variables still are set to the same values, try moving the
session_unregister after the session_unset, but still before the
session_destroy.
Janet
- Original Message -
From: "Lee P Reilly" <[EMAIL PROTECTE
If you're on a unix/linux system, you can use an AWK script
-Original Message-
From: Peter Sienkiewicz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 16, 2002 2:32 PM
To: [EMAIL PROTECTED]
Subject: [PHP] find and replace help.. VERY important
Hello ladies and gentlemen,
I need a
Hello ladies and gentlemen,
I need a function that opens up an HTML file and looks for
position:absolute;top:1038px;left:104px
then changes the left: value to be 100 less then it currently is
so it should then look like
position:absolute;top:1038px;left:4px
The problem is that the lef
If I wanted to do a search engine for the web (and maybe for just a site) I
would set up a MySQL database and have a record for each site which is
included in the index. There would be fields for URL, Page title, Keywords
and maybe description / text extract from the URL.
It would be quite a simpl
At 10:58 AM 1/16/2002 -0800, Police Trainee wrote:
> > >in a nutshell:
> > >if ("150.200.250.x" is within
> > >$REMOTE_ADDR){dowhatever}
There are a couple of different ways to accomplish this. One is:
if (strpos($REMOTE_ADDR,"150.200.250.") !== false) {
//do whatever
}
You have to be caref
Aaron and I have discussed this offline. He has a PHP front-end running on
one server which he is using to control access to pages on another server
(the target). He wants the front-end code to collect and check the user's
credentials, then request an appropriate URL from the target and relay th
Hi Zara, are you storing a path to the images in your db? Or the actual
image? It's recommended that you stay away from storing actual images in the
db. If you are
storing a path the code below might help you out. It select a firstname, and
an image according to an id. You'll have to change the
After I make a queryhow do I fetch a specific row from that query ??
Thanks!
I know this is a total hack job but could you say, set the location
of the script as your default page in a browser, then open the browser
via cron and it would run it as the page opens?
I am interested in this too, I am VERY new to Linux and have only just
started to look at cron, any li
I have a problem that I would be thankful if someone could help with.
When php-4.1.1 is compiled using pspell-.12.2 and apache-1.3.22 with
mod_ssl-2.8.22 apache core dumps when trying to start. Using the same
configure options with php-4.0.6 and apache-1.3.22 and mod_ssl-2.8.22
everything works f
Hi DL,
> ="session" is not the correct word/its use is potentially confusing
> (perhaps that's why it's in quotes?) - persistence refers to the
> continuing connection between PHP and MySQL.
yup, you're right.
session is not the correct word, but i can't find the
correct/easy word to subtitute s
I am not clear on what you are trying do.
However, let me tell you how we are running PHP
scripts as cron jobs.
We have setup cron to execute a shell script.
The shell script invokes
{path-to-php-binary}/php -q my_script.php
That works fine.
Hope that helps.
--- mike cullerton <[EMAIL PROT
on 1/16/02 11:57 AM, Mike Krisher at [EMAIL PROTECTED] wrote:
> someone here has to know the syntax for using multiple items in a where
> definition, something like:
>
> $values = 120106,120095;
> $sql = "SELECT * FROM products WHERE catalognumber = $values ORDER BY
> price";
>
select * from p
on 1/16/02 11:26 AM, Tiago Luchini at [EMAIL PROTECTED] wrote:
>> Unable to open /home/admin/webmin-0.85/ in Unknown on line 0
this is possibly a path or env issue. have you tried using absolute
filenames?
>>>
>>> Yes. Same thing happens with absolute or relative paths.
This is a strange request but here you go.
function CRC8bit($data){
return (crc32($data) & 255);
}
-Original Message-
From: Brian C. Doyle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 16, 2002 11:34 AM
To: [EMAIL PROTECTED]
Subject: [PHP] 8 bit check sum Not 32 bit
Hello all,
I currently have a perl subroutine that uses an 8 bit check sum.
From what I have found, in books and the site, php will only do 32 bit.
Here is what I have currently
sub _hash_domain {
return uc(
unpack('H2',
pack('C',
Hi,
i need a quick tip.
I need a page containing links to get information from a database from
different timeperiods. I want the links to start from a given month, ie
November 2001, and stretch to the present month.
However - i don´t want to manually add a new link every month.
How do i approac
from the manual:
These functions all take a regular expression string as their first
argument. PHP uses the POSIX extended regular expressions as defined by
POSIX 1003.2. For a full description of POSIX regular expressions see the
regex man pages included in the regex directory in the PHP distrib
Dennis,
Book, I don't know. I'd suggest starting with the Guides at the Linux
Documentation Project,
http://www.linuxdoc.org/guides.html
and work from there, and don't forget the HOWTO's.
The Linux System Admininstrators Guide was updated in Novemer, 2001 and
The Linux Network Administrators G
Dani,
Not that I've tried this exact condition but the internal portion of this
array name works elsewhere. Give it a try.
$row['${"somename_".($var)}']
- Original Message -
From: Dani <[EMAIL PROTECTED]>
To: Stefan Rusterholz <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, Jan
looks like a PHP bug... maybe you'd like to check the following bug history
and try Jani's suggestion:
http://bugs.php.net/bug.php?id=13023
Maciek
> -Original Message-
> From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 16, 2002 7:52 PM
> To: php general
> Su
Fernando,
check http://www.php.net/odbc
>From Windows you can just create a System DSN and then use it in an
odbc_connect() function.
>From some *nix flavor, you will need to build PHP --with-iodbc as per the
howto at www.iodbc.org, and then install OpenLink's Multi-Tier ODBC driver
with the ser
I'm slowly working on a PHP driven, html-web front end state machine design
tool. It uses an XML repository for the data, and renders a PHP file for
execution. It is good for moderate sized scripts and even better for designing
the inside of objects.
It would be a perfect compliment to a UML desi
someone here has to know the syntax for using multiple items in a where
definition, something like:
$values = 120106,120095;
$sql = "SELECT * FROM products WHERE catalognumber = $values ORDER BY
price";
Does this make sense,
» Michael Krisher
[EMAIL PROTECTED]
--
PHP General Mailing List (h
There are a MILLION linux news/listgroups, I didn't know which one to go to. But
I knew someof you guys/gals use linux, (and proudly wear the 'nerd inside'
t-shirt!)
S. slightly OT, but what is the best linux book out there, aimed at
admin/DNS/Networking?
Thanks in advance.
PS, the binary
nah, there's another one that you don't have to
speficy the length. i remember seeing it used once
when checking the user's browser to see if the string
"mozilla" was contained within the variable...
besides, i changed the string to check for by one
digit and it still returned true because PART o
ok i found it..
chmod o+w /var/spool/msqueue
many thanks to all
regards
simos
--
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]
Hi guys:
I'm trying to make a connection from PHP to a MS Access. How can I do this?, I know
that there are a function for this, but what about the parameters.
Thanks in advanced,
Fernando
Hi dennis,
yes i'm using dynamic loading of PHP using --with-apxs
line 205 is
LoadModule /usr/apache/libexec/libphp4.so
I can install php on solaris 8 on an intel (x86) machine using the same
source code without any problem.
I have gcc 2.95 on the intel machine where as gcc 3.0.1 on the sparc
There not much documentation in the online manual about eregi. Apart from
the usage I need to know more about what regx it uses,
in the linux shell , using grep i got it right for my needs ..
I want to find and reject content with email address ..
[desiredating@opie desiredating]$ echo "[EMAIL
What is in line 205? It looks as though you are dynamically loading PHP.
Are you compiling with --with-apxs in PHP?Just a thought...
/dkm
- Original Message -
From: "R'twick Niceorgaw" <[EMAIL PROTECTED]>
To: "php general" <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 12:03
Hi Jimmy,
> >> the only problem i can think of might occur with pconnect is,
> >> last_insert_id() will return you the last inserted ID from
> >> previous 'session', not current 'session'.
> >> to prevent this, you should call last_insert_id() only when
> >> your INSERT query executed succesfully
hello. i am trying to write a simple php line that
checks the REMOTE_ADDR variable and see if it comes
from a specific netblock (to see if A.B.C is contained
in a REMOTE_ADDR of A.B.C.D) But how do i do this?
i know there is a php function that checks the string
for the presence of another one...
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* On 16-01-02 at 19:36
* rick said
> Hi guys ,
>
> I would like to know if there any package ready to install with Apache
>, Mysql and PHP4 under Windows ???
>
> I time ago I think , I saw such a package but I don't remenber
Kirk,
Okay, I now understand why the $_GET and $HTTP_GET_VARS variables are
useful. I had made the mistaken assumption that if I leave
"register_globals" on, but write code that works with "register_globals"
off, my code would somehow be safer simply for having been written this
way. But th
>
> mail("[EMAIL PROTECTED]", "Subject", "Line 1\nLine 2\nLine 3");
>
> --
Thanks jim
I still have the same problem even with mail("[EMAIL PROTECTED]", "Subject",
"Line 1\nLine 2\nLine 3");
and it has to do with permstions ...
Wright now I notice that in /var/log/mail/errors exist a line
Jan
Hi guys ,
I would like to know if there any package ready to install with Apache ,
Mysql and PHP4 under Windows ???
I time ago I think , I saw such a package but I don't remenber the address or the link
to the web site .
If any of you know something I'll be looking forward to
Put quotes around the TO address:
mail("[EMAIL PROTECTED]", "Subject", "Line 1\nLine 2\nLine 3");
-Original Message-
From: Simos Varelakis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 16, 2002 12:07 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Help !! Mail Function Problem (Newbie)
H
1 - 100 of 221 matches
Mail list logo