Site which offer SMS are also closing down / becoming unreliable as the UK
networks are charging other network operators for sending messages to phones
on their network.
This doesnt really affect mobile phone users because the costs cancel out
over time but discrimnates against web sites who dont
>> 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?
mike
on 1/16/02 10:07 AM, Tiago Luchini at [EMAIL PROTECTED] wrote:
> I am trying to run directly via PHP.
>
> I have tried setting 755 to the script
Hi,
I would like to be able to maintain ( ie create or delete ) POP3 accounts
via PHP but my ISP says this cannot be done.
I find this confusing since they provide me a PHP-based control panel which
I use to do this manually ...
I confess I don't know much about the implementation of POP3 on Li
I wrote:
> > If you are careful, you can defend against Scenario 1 with
> register_globals
> > on, but you need to understand all the stuff that PHP is
> doing with the
> > data, and that is a fairly complicated picture. Your
> application can still
> > work even if you don't understand that p
Hi,
I have an xml output with tags like 123
sands
I could parse the output using expat to display it the way i want or as a
string but what I need is to store the values separately in different
variables like $id for sessionid, $user for user and so on.. to be
manipulated later...
Any suggest
I guess I'd setup a global array $TAGS, create an entry in the array
with your open_tag handle, $TAGS[$tagnamepassedtohandler], use the data
handler to populate it $TAGS[$currenttag].=$data;
When you're done parsing the xml you have one big array with all the
tags that you can either use extract
Hi,
I have to sweat my way through
/usr/bin/php if that does not work try /usr/local/bin/php
or ask the Unix Sysadmin.
one problem I still have to overcome is that everything
works,( I mean DB Connection etc.) but I can not use mail()
function.
Any body have any ideas why I can't use mail()
on 1/16/02 10:16 AM, HENDERSON, Roy at [EMAIL PROTECTED] wrote:
> I would like to be able to maintain ( ie create or delete ) POP3 accounts
> via PHP but my ISP says this cannot be done.
>
> I find this confusing since they provide me a PHP-based control panel which
> I use to do this manually .
I don't have it! Could not find using echo $HTTP_IL_PAD neither saw it at
phpinfo(). Do you have any non-default module installed?
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
"Bill" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED].
>From: "Embrace DaPain" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: [PHP] Newbie question on deleting directories using "web
>Explorer"
>Date: Wed, 16 Jan 2002 11:47:27 -0500
>
>I am trying to delete files using "web explorer" THere is a section in the
>code that states the follo
Hello to everyone
My problem is that Mail function sends no e-mail
the code is
mail([EMAIL PROTECTED], "Subject", "Line 1\nLine 2\nLine 3");
this is my /var/spool/mail/info log file
thewall sendmail[4513]: g0H10I604513: from=apache, size=0, class=0,
nrcpts=0, relay=apache@localhost
this i
In your original post (see below), you stated that that you wanted tag
functinality, which would involve the user clicking. In your last post, you
state that you do not want the user to click; which is it to be?
Now, your question is really about re-direction based upon a condition,
whereby the
Hi Simos,
> mail([EMAIL PROTECTED], "Subject", "Line 1\nLine 2\nLine 3");
> thewall sendmail[4513]: g0H10I604513: from=apache, size=0, class=0,
> nrcpts=0, relay=apache@localhost
I am not sendmail expert, so i am just guessing.
the nrcpts=0 in your log message might be stands for "number of
re
> 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.
>
> what's the line in your code where this error occurs?
it does
> I have to sweat my way through
> /usr/bin/php if that does not work try /usr/local/bin/php
> or ask the Unix Sysadmin.
>
both paths work under a TTY but not when I send my script to cron.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
$row[coloumname_${v$ariable}]
-Original Message-
From: Dani [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 16, 2002 8:36 AM
To: [EMAIL PROTECTED]
Subject: [PHP] variable problem - help!
Importance: High
Hi!
I 'm trying not to hard code my php coding and I'm trying to pass a
variab
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
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
>
> 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
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
-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
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...
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
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
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
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
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]
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
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
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
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
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
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
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
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
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
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
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',
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
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.
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
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
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
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
After I make a queryhow do I fetch a specific row from that query ??
Thanks!
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
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
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
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
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 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
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
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
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;
Hi Martin,
> > 2 because the (function argument) controlling feature is the connection, it is not
>possible for another
> > concurrent user to 'steal' your ID or influence the ID returned to you - it's all
>yours!
>
> Ok, assume you are correct, but what if you are using persistent
> connection
Hi Jimmy,
> >> 2 because the (function argument) controlling feature is the
> >> connection, it is not possible for another concurrent user to
> >> 'steal' your ID or influence the ID returned to you - it's all
>
> > Ok, assume you are correct, but what if you are using persistent
> > connections
Hi DL,
>> 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.
> =Of cour
on 1/16/02 10:47 AM, Jimmy at [EMAIL PROTECTED] wrote:
> Hi DL,
>
>>> 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()
Hi mike,
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.
>> Most probably the returned value would be wrong, because it wi
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
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
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
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
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 =
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
$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
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
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
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
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]
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
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 ${
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
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
* 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
>
>
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
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
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.
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
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 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'
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
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
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 $
$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
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]
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
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
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
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
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:
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
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:
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
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
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
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
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:
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
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
101 - 200 of 221 matches
Mail list logo