There is no function, but you could shell out and grab the output from
the uptime command and use regex to parse the resultsor use one
command line with uptime piped to awk to pull out what you need.
HTH!
--Sam
-Original Message-
From: Brad Ciszewski [mailto:[EMAIL PROTECTED]
I think you mean GEOS :)
--Sam
-Original Message-
From: Alex Hogan [mailto:[EMAIL PROTECTED]
Sent: Friday, July 09, 2004 8:15 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] PHP Hosting
Don't you require Windows 3.1.11 for proper network support
:) - at least 3.1 was stable.
Poke
Use the strtoupper function:
http://www.php.net/strtoupper
HTH!
--Sam
-Original Message-
From: Juan Pablo Herrera [mailto:[EMAIL PROTECTED]
Sent: Monday, June 14, 2004 11:05 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Function Date
Hi!
I am using date(j M Y), the format date is 14 Jun
Hehe must be too early on a Monday for Craig :)
--Sam
-Original Message-
From: Craig [mailto:[EMAIL PROTECTED]
Sent: Monday, May 17, 2004 9:31 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: WDDX
take a look on http://www.phpclasses.org
Good luck,
Craig
Dave Avent [EMAIL PROTECTED]
What sorts of errors are you seeing in your log?
--Sam
-Original Message-
From: Shawn Beard [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 8:11 AM
To: [EMAIL PROTECTED]
Subject: [PHP] php email functionality
I just upgraded to PHP 4.3.5 and now my email functionality does
Are you sure that you aren't echoing something else somewhere in your
script as well? My output from this code is:
18/03/04
--Sam
Khalid Judeh wrote:
hello all,
i am new to php, i am trying to call the date function this way:
?php echo date(d/m/y); ? and the result i get is:
This drove me nuts for a while and instead of doing $variable++ I
started using ++$variable and never had the problem again.
--Sam
Jake McHenry wrote:
No.
$correct++;
Is all you need for the second condition, it automatically sets
itself back.
Does this always work? In my
This doesn't sound like it has anything to do with the mail function.
It appears that your newsletter is getting caught by their spam filters.
--Sam
PHP wrote:
Hi
In a web application I need to send mail for each members whith a
different content . mail message must be in HTML Format and
Not trying to sound rude or anything, but have you looked up the mysql
functions at http://php.net/mysql in your research?
I would start with mysql_connect(), mysql_query(), and
mysql_fetch_array()/mysql_result().
There are lots of user notes on each page as well which should be of
Since I am assuming Type is a text field, you will want to enclose it
in single quotes. Also, because I am anal retentive, I like to also use
the addslashes() function on any input coming in on the GET string or
via a POST. Also, since all variables are preceded by a $ character,
your call to
If the install on the new server is a fresh install, you might want to
start by comparing the php.ini files being used on both machines to see
where they differ.
HTH!
--Sam
Teren wrote:
Hey, I'm having some trouble with one of my scripts that is on a new
server I just launched. The scripts
I believe that using http://; in the front of the URL is required when
using this syntax.
--Sam
[EMAIL PROTECTED] wrote:
Hi there i am having issues trying to get php to log into a htaccess
protected directory. I used be able to simply have the username and
password in the url like
How long is it before the Page Not Found error occurs? Is the browser
possibly timing out?
--Sam
Kenn Murrah wrote:
Greetings.
I have an odd (to me) problem ... from most computers, the upload
code (shown, in part, below) works just fine but from at least
one
computer, if the
-Original Message-
From: Kenn Murrah [mailto:[EMAIL PROTECTED]
Sent: Friday, March 05, 2004 2:58 PM
To: Sam Masiello
Cc: php
Subject: Re: [PHP] odd, sporatic upload problem ...
No, it happens immediately upon clicking the submit button
This is because the file is uploaded as the user running the web server
process; apache, in this case.
--Sam
Mike Mapsnac wrote:
It works now.
I run the script as user mike and mike:mike is owner of the
directory, when
I upload something to directory the owner of the file is
Are you sure that file exists? When I try to access it with my browser
I get a 404.
--Sam
Lopez, Kaleb (GEAE, Foreign National, CIAT) wrote:
I'm sorry. I got confused. I'm using file. Here's a part of the code,
more or less. I don't get anything. The table is blank.
// I'm creating the
your top frame bigger (change the 83 to 200) to
see if you can see the text?
--Sam
joe-at wrote:
Thanks for the hint, but the frames are wide enough.
I also tried it on my test server and on a real web server with the
same result.
Sam Masiello [EMAIL PROTECTED] schrieb im Newsbeitrag
news
Actually, your use of substr is incorrect. The third parameter is how
many characters you want to go from your offset, not the ending
character. Also, your last variable shouldn't be year...it should be
day (or whatever you want to name it...anything but year or month :) ),
otherwise you will
Are you getting an error when trying to read/parse your log file? If
so, what is that error?
--Sam
Pablo Gosse wrote:
Hi folks. Has anyone encountered any problems parsing large log
files with PHP?
I've got a log file that's about 1.2 gig that I need to parse.
Can PHP handle this or
If you want to see the contents of an array, use the print_r function:
http://www.php.net/print_r
HTH!
--Sam
Donpro wrote:
$emails =
array([EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]);
$addresses = explode(,,$emails);
for ($i=0; $i count($addresses); $i++) {
echo $i . ':
Depending on your database engine (which you didn't mention in your
post), some allow you to format the date however you want it as you pull
it out of the database in your sql query. I always find this to be the
easiest way to do it. That way you don't have to worry about formatting
the data
I believe you are looking for:
http://www.easyphp.org
HTH!
--Sam
Shane Nelson wrote:
Hi Folks
A few days ago on the list I saw someone mention a package that
includes apache, mysql and php for Windows. The one install file
included all these programs. Anyone remember what it was?
How about FTP?
--Sam
Mike Koponick wrote:
Hello everyone,
I will apologize in advance if this has been discussed previously.
I would like transfer a file that is created by PHP. Once written, I
need to transfer (or write it) to another server. The destination
server is on another
I am afraid that I don't get the same problem that you do. If I request
frameset.html in my browser I get the text that you are echoing in your
PHP statement in the top frame.
Is it possible that your resolution is such that you need to scroll in
the top frame to see it? Try viewing the source
Ah ha!
I think I found where the problem lies(and also our confusing
disconnect). Even though you and I were doing pretty much the same
thing, your case worked fine in the instance where the parameter being
submitted in the self submitting form was only one word. If you changed
your test case
What is the error that you get when you try to use gpgext?
--Sam
Paul Marinas wrote:
Those anyone know hoh to use php with gpg. I've tryed gpgext, but
doesn't seems to work maybe my php is not compiled with some kind of
support.
thanks
Paul
GnuPG Key
What happens if you echo out $query to the browser window and try to
copy and paste the query into a command line mysql session (be sure to
connect to the database using the same authentication credentials that
you have in the script)? Does it work?
--Sam
Brian Dunning wrote:
This inserts
If the PHP configuration doesn't have register_globals turned on in
the php.ini file, you will be able to access the form variables via the
_POST array like this:
$_POST[my_form_var]
Of course, substitute my_form_var with the correct variable from the
form that you are submitting.
If the
My apologies if this post is somewhat OT. I am having some trouble
figuring something out, and I am hoping you can help.
I have a PHP web form on which a user can enter a number of different
things
into both text and textarea fields. At the bottom of the form is a
preview button which opens
:[EMAIL PROTECTED]
Sent: Fri 2/20/2004 6:07 PM
To: Sam Masiello
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Self Submitting Form
Hi Sam,
I am not sure I know what you want to do...
I tried to recreate your problem:
test.html
form name=myform1 method=get action=
input type=hidden name
The --with-curl directive can also take a directory (--with-curl=[DIR}).
Try passing in the directory where cURL is installed to. (I am not sure
where this is since you didn't mention whether cURL is installed on your
system via RPM or if you did it from source).
Good luck!
--Sam
Donpro
I am kind of stuck on a problem that I am hoping you can help with.
I am working on an application where the user can input a regular
expression into a text box on a web form. This regular expression will
be put into a postgres database, then later into an XML file.
My dilemma is that if a
Thank you for the reply, Adam, but unfortunately it didn't work.
--Sam
Adam Bregenzer wrote:
On Wed, 2004-02-04 at 14:06, Sam Masiello wrote:
$rule = ereg_replace([[:alpha:]+*/.|()$], 0, $rule) ;
But if the user backslashes either a left or right bracket ([ or ]),
I am having
It appears as if you don't have MySQL support compiled in with your PHP
build. If you installed it from source you will want to recompile PHP
with the --with-mysql option. I have never installed PHP from RPM
though so if you installed it that way, perhaps someone else in the
group can provide
Perhaps it doesn't like the fact that you don't have quotes around your
array keys?
--Sam
Tyler Longren wrote:
Error:
Parse error: parse error, expecting `']'' in
/usr/local/apache/htdocs/UP/index.php on line 871
Line 871:
mysql_query(INSERT INTO domainregistrations
I have posted this question to both the PHP SOAP and the PEAR General
lists and have not received a reply on either list (not a very
responsive group, I guess :) ) so I thought I would try to reach a
larger audience in hopes that perhaps one of you out there might be able
to help.
Any assistance
Anytime I need to do something similar to this I prefer to use lynx
-source [[URL]] [[output_file]]
HTH!
--Sam
Paul Godard wrote:
Hi
I have develop an online catalog in php/mysql. Now the client needs
the web site on a cd. Of course without php or mysql...
What is the fastes and
The URL below lists all of the MySQL mailing lists. Just choose the one
that is most specific to your issue:
http://lists.mysql.com/
HTH!
--Sam
JLake wrote:
Can anyone point my to a MySQL specific SQL newsgroup. having some
problem corectly extracting data.
Thanks,
J
--
PHP
That is correct.
http://www.derkeiler.com/Mailing-Lists/securityfocus/bugtraq/2003-11/006
5.html
--Sam
Richard Davey wrote:
Hello orlandopozo,
Saturday, December 13, 2003, 12:04:02 AM, you wrote:
oicv What is a XSS attacks?
Cross Site Scripting Attack I think.
Like when people
Since PHP is a server side language, you cannot get information like the
users display settings. If you want this information, you will need to
use a client side language like Javascript or VBScript.
--Sam
Hartley, Matt wrote:
I am sort of new at this, I am wondering if it is possible to
Did you get a bounce? Perhaps to the root account on your local
machine? Some domains do reverse DNS lookup and if sendmail is not
configured properly the receiving domain might kick the email back if it
doesn't recognize where the email claims to be coming from.
--Sam
-Original
This URL might be of some assistance to you:
http://www.php.net/manual/en/ref.classobj.php
It is a page on how to write classes and its associated member functions
in PHP. There are a couple of other pages in the documentation which
may be of assistance to you as well.
HTH!
--Sam
How about something like this:
if ($_SESSION[temp] 0) ?
Or if you want to be really sure:
if ($_SESSION[temp] 0 $_SESSION[temp] != )
ORif you want to be sure the value is a number as well:
if ($_SESSION[temp] 0 $_SESSION[temp] !=
is_numeric($_SESSION[temp])
HTH
Sam Masiello
You could try one of the mirrors. For example, http://php.ca is up and
running.
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 22, 2002 11:56 AM
Your message was clear, and as stated by several people already, you
can't do it in PHP.
PHP is a server side scripting language, Javascript and VBScript are
client side languages. Popping up a dialog box is a client side
function, thusly cannot be done in PHP. :)
HTH
--Sam
-Original
to change, you only have to change one script instead of changing many.
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED]
- Original Message -
From: webmaster [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 28, 2002 4:59 AM
that your form submits to, you can do the following:
if (isset($myimage_x) || isset($myimage_y)) {
// do something
}
If the image was clicked, this will submit your form, and both $myimage_x
and $myimage_y will be set.
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362
You can force the browser to refresh using a meta tag:
meta HTTP-EQUIV=Refresh content=180
This will cause the page to refresh every 180 seconds.
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED]
- Original Message -
From: Chris
conditions need to be true in order for the entire statement to be
true. If any condition in a set of AND conditions is false, the value of
the entire expression is also false.
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED]
- Original
.
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED]
- Original Message -
From: Charles [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 22, 2002 10:25 AM
Subject: [PHP] OOP Problem
Hi,
i have create a simple php class
What is the error that you are getting?
--Sam
- Original Message -
From: Brandon Orther [EMAIL PROTECTED]
To: PHP User Group [EMAIL PROTECTED]
Sent: Thursday, January 17, 2002 5:25 PM
Subject: [PHP] MySQL and PHP
Hello,
I am trying to use mysql through php. When I try to run
Even though this is OT as it is not a PHP question it is an easy one :)
Please see the following URL:
http://www.mysql.com/documentation/mysql/bychapter/
It is the MySQL manual broken out by chapter.
You will find the next URL particularly useful as it is the syntax for the create
I think it will really help if you post more of your code. It is obvious
that the parse error is not contained within the lines of code that you
pasted :) I think more of your code will reveal the answer rather quickly
:)
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853
.
Could someone please give me a quick clarification?
Thanks :)
--Sam
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
In your printf statement, you are targetting sub_detl whereas in your
frameset you name the frame sub_dtl. Naturally, these values should
match.
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED]
- Original Message -
From: Miles
are receiving.
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED]
- Original Message -
From: German Benzano [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 22, 2001 11:19 AM
Subject: [PHP] PHP on fu!$#@ing PWS
How do I run *.php
...but then what do you do about the people who have legitimate questions
who don't want to subscribe to the list? This is a fairly high traffic list
and not everyone wants that much mail coming at them just to have the
occasional one-off question answered.
Sam Masiello
Software Quality
as
part of the PHP install.
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED]
- Original Message -
From: Caleb Carvalho [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 25, 2001 1:33 PM
Subject: [PHP] can you pls tell me
Then you can use:
if (mysql_num_rows($result) == 0) {
stuff here
}
This will check the number of rows returned from your query. If zero,
then do somethingmodify as you need.
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED
I would say that you have a permission problem with where PHP is trying
to write the file to. Try outputting the file to /tmp/db.dump and see
if you have the same problem.
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED]
-Original
Have you tried putting in the fully qualified pathname to the mysqldump
executable?
/usr/somepath/mysqldump rest of your command here
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED]
-Original Message-
From: Tony Frasketi [mailto
You could do:
which mysqldump (without the quotes, of course :) ).
This is provided that mysqldump is in your path (if you can enter just
mysqldump from the command line, then it is).
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED
It has outer joins:
http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#JOI
N
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Martín Marqués [mailto:[EMAIL PROTECTED]]
Sent: Tuesday
The order doesn't matter, but perhaps you might want to put single quotes
around your $a at the end of your SQL statement. You didn't mention the
error that you were getting, but this might help nonetheless :)
update tablename set x='$x', y='$y', z='$z' where a='$a';
HTH
Sam Masiello
Why can't you update ? What error message are you getting?
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Gerard Samuel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 3:28 PM
To: PHP
Instead of trying to sort the result AFTER it returns from the query, you
could use an ORDER BY clause in your query to sort the results prior to
trying to output it?
You could change your query to something like:
SELECT * FROM tablename ORDER BY fieldname
HTH
Sam Masiello
Software Quality
I believe the function you want is mysql_num_rows, not mysql_numrows
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: AJDIN BRANDIC [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 9:35 AM
be the value held from your count in the SQL statement.
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Jeremy Morano [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 4:07 PM
To: [EMAIL PROTECTED
mailing lists would accomplish much more than
creating MORE mail traffic (from the spammed questions) and alienating
people who used the more specialized lists because most everyone else is
still mainly reading the General Forum.
My 2 copper pieces worth.
Sam Masiello
Software Quality Assurance
Amazing is supposed to
go together in the same string.
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Chris Worth [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 12:36 PM
To: [EMAIL PROTECTED
Exactly what error are you getting? The install is pretty straight forward.
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Kyle Smith [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 9:26 PM
You need to put backslashes before your quotes in your echo statement. Like
this:
echo P align=centerYour feedback has been sent to a
href=\mailto:$address\;$name/a/P;
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message
Didn't we go through this the other day? :) :)
There are lots of sites available with LOTS of scripts you can look at that
do very practical things. Scripts that I am sure some of us have even used
on occasion (I know *I* have!). Besideshow is someone sending you one
of their scripts
I think the following link might shed some more light on the situation:
http://news.cnet.com/news/0-1003-200-6604515.html
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 x289
[EMAIL PROTECTED]
On Fri, 20 Jul 2001 10:12:25 +1000 Brian White [EMAIL
Pardon my ignorance if you can really do it this way (because I have never
seen it done like this):
In line 4, I wasn't aware that you could call mysql_connect() without any
parameters. Can you?
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 x289
[EMAIL PROTECTED
Try #php :) Lots of people hanging out in there all the time.
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Bernie Kruger [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 8:46 AM
script, you can access $from which will have
the value 25 upon entry to your script.
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Jeff Lewis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 10:22
Sounds like you need to recompile PHP with Oracle support. Recompile PHP
with the -with-oracle flag when running the configure script to include the
Oracle functions.
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Kike
Perhaps you want something like this:
$Msg = $H.$NL.$R.$NL.$D;
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Taline Makssabo [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 18, 2001 11:18 AM
To: [EMAIL PROTECTED
Did you echo out $CharacterName before your SQL statement to ensure that it
is being set? Or your $SQL variable before calling odbc_do? This might
provide you with some insight as to why the query doesn't return anything.
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL
See the following URL in the manual:
http://www.php.net/manual/en/features.http-auth.php
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 1:48 PM
Why not do something like:
SELECT myTable.col
FROM myTable, otherTable
WHERE myTable.id = otherTable.ID
AND (otherTable.data LIKE a.% OR otherTable.data LIKE s.% OR
otherTable.data = io.bean)
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original
Well, you won't have two persistent connections to the same database (for
the same username/password). So, as long as you use the link identifier as
the third argument to the mysql_query function (or mysql...whichever you are
using), that is guarantee enough.
HTH
Sam Masiello
Systems Analyst
You need to do this using Javascript since it is a client side function.
window.close() is the function you are looking for.
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Wee Chua [mailto:[EMAIL PROTECTED]]
Sent: Friday
Perhaps we could all better assist you if you posted the code for your form
("X"-ing out any sensitive material that you wouldn't want us to see)...or
maybe the URL that the form is at so we can see it for ourselves?
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x
se a comma separated list, you can use the find_in_set
function:
$query="DELETE FROM EmailAddress WHERE !find_in_set(Email,
'value1,value2,value3, ,value_n') " ;
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: [EMAI
It sounds like PHP was not compiled with the -with-oracle directive when the
configure script was run. This will compile in support for the PHP Oracle
functions.
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Brooks, Ken
After reading my last post, I realized that I am a dope :)
You DO need to compile in Oracle support, but you don't do it
with -with-oracle. That is in Linux :) Sorry about that!
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From
value"
is supposed to be the name of a page?
I am sure someone will chime in if this is wrong, but I would doubt that it
isof course, I guess the best way to find out is to try it :)
--
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
On 2001.02.27 11:10:57
Why not just use an array?
$testtext[1] = "value1" ;
$testtext[2] = "value2" ;
etc..
--
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
On 2001.02.13 16:06:54 -0500 Brandon Orther wrote:
Hello,
Is there a way to use a variable in the
When you compile PHP, you also need to include the --with-aspell flag
(similar to how you did to include MySQL support).
HTH
--
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
On 2001.02.07 14:19:38 -0500 Nicholas Pappas wrote:
Is there a secret to get
ed as an array after the form is posted.
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: iGuru [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 10, 2001 9:56 AM
To: [EMAIL PROTECTED]
Subject:[PHP] Listbox Data
Hello Bruno!
See the following URL in the PHP manual:
http://www.php.net/distributions/bigmanual.html#functions
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Bruno Freire [mailto:[EMAIL PROTECTED]]
Sent: Thursday
onnect
like:
$result = mysql("mydb", "My SQL statement", $my_connect) ;
$last_id = mysql_insert_id($my_connect)
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Boget, Chris [mailto:[EMAIL PROTECTED]]
Sen
You probably stated this in your previous post, but what is the result from
your call to mysql() ? Is this call failing so that when you get to
mysql_insert_id(), the id doesnt exist?
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message
for the two different people running queries), you should
not have a conflict.
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Boget, Chris [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 24, 2001 4:49 PM
To: 'Sam Masiello'; Php (E-mail
If you are using mysql as your database, you can use mysql_insert_id.
See http://www.php.net/manual/en/function.mysql-insert-id.php for more info
:)
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Robert Morrissey [mailto
Since you didn't mention it specifically, I thought I should ask:
Did you also download the mcal library or did you only include -with-mcal
when you compiled PHP?
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: johnny p. [mailto
steps in the manual", but then learn to find out that they either did
something wrong or skipped a step along the way.
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: johnny p. [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 19,
If you are going to do a comparison from one of the fields in your table,
doesn't the field name need to be on the left hand side of the comparison?
So instead of "where '$zip1' = zip", shouldn't it be "zip '$zip1'" (et al
for the other comparisons in your query) .
HTH
100 matches
Mail list logo