On Tuesday 30 April 2002 13:56, Jack wrote:
> Dear all
> I had made a page which import some csv file data into Mysql, when i test
> this page, it doesn't show any message or error, but the data didn't load
> into mysql table, so is there anyway i could use in php to show me the
> status of mysql?
Dear all
I had made a page which import some csv file data into Mysql, when i test
this page, it doesn't show any message or error, but the data didn't load
into mysql table, so is there anyway i could use in php to show me the
status of mysql?
--
Thx a lot!
Jack
[EMAIL PROTECTED]
--
PHP Gen
function SetPageAuthor() seems to be missing a }
:)
Justin French
on 30/04/02 3:19 PM, Ironfroggy ([EMAIL PROTECTED]) wrote:
>
> /* Standard Globals */
> $GLOBALS["PageTitle"] = "ironfroggy.com";
> $GLOBALS["SiteName"] = "www.ironfroggy.com";
> $GLOBALS["STD_PHP_Version"] = "1.0";
> $GLOB
Here is the file, with unuseful header comments and passwords
removed, of course.
";
?>
http://www.w3.org/TR/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
ironfroggy.com
Check again. You're missing a closing bracket or an ending quote...
something along those lines.
---John Holmes...
> -Original Message-
> From: Ironfroggy [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 29, 2002 9:41 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] parse error after ?>
>
>
On Tuesday 30 April 2002 12:40, Ironfroggy wrote:
> I have a PHP script which gets a parse error on the last line (a
> blank line after the last ?>). I really have no idea what could
> cause this. I checked for all my closing brackets.
Check for missing braces } & semicolons ;, they're the usua
That's the only likely solution -- missing }'s.
Unless you're working on a mac, in which case the unix machine might be
reading your entire file as one line, hence not giving you an acurate line
for the error.
I do my editing in BBEdit, which the option of saving all files in unix or
windows or
I have a PHP script which gets a parse error on the last line (a
blank line after the last ?>). I really have no idea what could
cause this. I checked for all my closing brackets.
=
Question
__
Do You Yahoo!?
Yahoo! Health - your guide to hea
On Tuesday 30 April 2002 12:36, baldey_uk wrote:
> Hello all,
>
> How can i force a transfer to another php page from an if statement?
>
> I have been trying:
>
> if (condition){
>
> echo "Link";
>
> }
> else {
>
> something else
> }
if (something) {
header("Location: http://www.somewhere.com";
Hello all,
How can i force a transfer to another php page from an if statement?
I have been trying:
if (condition){
echo "Link";
}
else {
something else
}
without much luck, i keep getting parse errors. Thanks for anyhelp in
advance!
Cheers From
baldey_uk
--
PHP General Mailing List (
Maybe, but I believe he's trying to connect to MSSQL, which uses mssql_*
functions.
---John Holmes...
> -Original Message-
> From: hugh danaher [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 29, 2002 8:36 PM
> To: php
> Subject: Re: [PHP] What's wrong
>
> Arpan De,
> you have mysq
On Tuesday 30 April 2002 09:49, Shane wrote:
> Greetings folks. I'm looking for a solution to make thumbnails from my
> binary files inside my mySQL DB.
>
> Can anyone give me some direction for options besides Image Magick?
Manual > Image functions
--
Jason Wong -> Gremlins Associates -> www.g
Arpan De,
you have mysql not mssql. Your statement might work if you change it
from mssql_connect()
to mysql_connect()
Hope this helps,
Hugh
- Original Message -
From: "Arpan De" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 29, 2002 6:09 PM
Subject: Re: [PHP] What'
Please read the manual on what file() does.
www.php.net/file
It reads a file and assigns each line of it to an array. So $Emails will
be an array with each line of "emails.txt" in an element.
So, to see how many elements you have, you count() them.
$num_emails = count($Emails);
for($Cnt=0;$Cnt
I've got the following problem:
I'm trying to send a number of messages to a certain number of e-mails,
the e-mails are writen in a text file and I need to findout when the
file is over.
The sample code is under this line , if someone can help me, I'd
apreciate it.
";
$Assunto = "Assunto
Greetings folks. I'm looking for a solution to make thumbnails from my binary files
inside my mySQL DB.
Can anyone give me some direction for options besides Image Magick?
TIA
- NorthBayShane
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Actually, i just used desc for the sake of demonstration, the actual
column name was description. At this point i don't care any more, this
was done on a computer for testing purposes and is no longer an issue.
I was just curious to know if this is a known bug or if it's just some
odd anomol
It sounds like you only downloaded the small windows installer
go here http://www.php.net/downloads.php and get the 4.8mb ZIP package.
This has a bunch of commonly used modules come with it and comes with
instructions on setting up modules
Regards
Jarrad
-Original Message-
From: Arp
I removed the semi-colon. restarted my server (IIS 5.0) & now when I try to
execute the PHP code, a dialog box with 'Warning' as the title pops up
saying "Unable to load dynamic library './php_mssql.dll'. The specified
module could not be found." Even when I executed phpinfo(), the same dialog
bo
No...remove the semi-colon to uncomment it. Restart your web server.
Create a page that has just the following line in it:
Save it to a file with a .php extension and call it up through your web
server. Examining that page will tell you what modules are loaded.
---John Holmes...
> -Origi
Hi John,
Thanks for your prompt reply. I am using PHP 4.2.0 version. I checked the
PHP.ini file where it is given the following:
;Windows Extensions
;Note that MySQL and ODBC support is now built in, so no dll is needed for
it.
;
;extension=php_bz2.dll
...
...
You don't have MSSQL support in your PHP installation. Uncomment the
line in PHP.ini that loads the MSSQL .dll
Use a phpinfo() file to see what modules are loaded.
You're making this hard on yourself...PHP is easy to learn.
---John Holmes...
> -Original Message-
> From: Arpan De [mailt
The only problem I can see is that you have a column named 'desc' which
is a reserved word. It can cause weird results some times, but seems
like it would cause an error
Don't know what to tell you...
---John Holmes...
> -Original Message-
> From: Austin W. Marshall [mailto:[EMAIL P
What is wrong with the following code?
");
echo("$firstname");
echo("$lastname");
echo("$userid");
echo("");
}
mssql_free_result($sqlResult);
mssql_close($connection);
?>
When the above code is executed, I am getting the following error:
Fatal error: Call to undefined function mssql
I want to insert userid, password & the e-mail address entered in a Form by
users in a database but only after ensuring that the userid & the e-mail
address doesn't exist in the database in order to avoid duplicate userids &
e-mail addresses. This is what I have done:
";
echo "Your Password is ",
Check out PHPLIB:
http://www.sanisoft.com/phplib/manual/
It has a Menu class, which may not be documented explicitely at this
point, but there's info about it in the mail list archives (use "search
for:" in the page linked above), or you can subscribe to the list and ask.
On Tue, 30 Apr 2002
The reason I wanted it in PHP not JavaScript's is because I wouldn't have to
worry about it being supported in other browsers... also the loading time is
already long enough I don't want people on slow connections to have to wait
for ages before they can go anywhere..
When a link on the menu is c
Michael,
Flash is a great way to do this. I have two years in Flash but am new to
PHP/MySQL - one of the things you will appreciate is the ease of using
actionscript on the flash side to communicate with your PHP script. And I
know not everybody will like this part, but you can put all the cool
How have you declared name?
> $zquery = "SELECT name from users WHERE handle like '$row[handle]';
> $zres = mysql_query($zquery);
> $zrow = mysql_fetch_array($zres);
> $user = $zrow[name];
> $query = "INSERT into hus
Just to point out how good the manual is :)
php.net/echo
"echo() is not actually a function (it is a language construct) so you are
not required to use parentheses with it. In fact, if you want to pass more
than one parameter to echo, you must not enclose the parameters within
parentheses. It is
Too hokey. We're talking about maybe 60 values on the page that will be
changing and it should look real time. I think Flash might be a potential
solution, I'm just not too familiar with it. Having the page refresh
occasionally is out of the question for how many things will be changing on
the
In my experience, it's best to keep everything is unix time stamp format --
soo easy for comparisons, and the function to convert it out to
-MM-DD took me 45 seconds :)
Justin French
on 30/04/02 6:29 AM, Richard Fox ([EMAIL PROTECTED]) wrote:
> I have a date string, let's call it 'date
"Michael Champagne" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm not even sure this is possible without doing a client side java applet
of
> some sort.
You might be able to munge something using a hidden frame
and Javascript polling, but it would be an
What php are you using?
Jean-Louis Letortorec wrote:
> Hello all:
>
> I have a script that looks like:
>
>
> ...
> $name="Project #1";
> ...
> $title="NEW PROJECT: ".$name;
> $a=mail("[EMAIL PROTECTED], [EMAIL PROTECTED]",$title,$body, "From:[EMAIL PROTECTED]");
> ...
>
>
>
> When I execute
Why don't you use javascript to refresh the page from time to time.
Michael Champagne wrote:
> I'm not even sure this is possible without doing a client side java applet of
> some sort.
>
> We are considering porting a standard client/server application to the web
> which updates itself dynamica
Hi,
Well you could take care of the backend of the system using PHP and feed the
output to a flash application, which updates every so often by re-requesting
the PHP page (this page is merely returning variables to flash).
Of course, if you know java then you'd probably want to take that route.
Hi,
first of all it's not a good idea to use your /etc directory for the user
files, or to chmod anything to 777 that doesn't really need it.
I suggest you try the following:
Let's assume the directory you want to password-protect is at
/home/apache/htdocs/mydomain.com/secure
First you would creat
On 29 Apr 2002 at 22:49, Hawk wrote:
> lets say I have 30 lines of text and I want to store it in a folder called
> "txt" with the filename $name.txt and, if $name.txt exists, create a
> $name1.txt or similiar?
What is it that you are trying to achieve? It sounds like you're
trying to store te
Guys,
Has anyone had much success in building a paging script with PHP for the
MSSQL database?
I've been working on such a script now for three (3) days, but to no avail.
Any help you can send my way would be greatly appreciated.
Thank you.
O From Now 'Till Then,
\->Reginald Alex Mullin
On Mon, 29 Apr 2002, Miguel Cruz wrote:
> Might want to do this instead:
>
> while (is_file("{$filename}{$startnum}.txt")
> $startnum++;
And perhaps toss in an extra closing paren )
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsu
On Mon, 29 Apr 2002, SHEETS,JASON (Non-HP-Boise,ex1) wrote:
> // get new filename until the filename does not exist
> while (is_file($filename)) {
> $filename .= $startnum;
> }
This will give you file names like file1, file11, file111, etc.
Might want to do this instead:
At 11:48 AM -0400 29/4/02, SHEETS,JASON (Non-HP-Boise,ex1) wrote:
>SERVERA (master)
>/usr/local/sbin/stunnel -f -P/tmp/ -c -d 3308 -r SERVERA:3307
Shouldn't this end with -r SERVERB:3307
i.e. you listen on port local:3308 and forward to SERVERB:3307
SERVERB then listens to local:3307 and forwar
If I understand you properly this code will do what you want
This code will write your contents to a filename with the base of $filename,
if the file already exists it will loop until it finds a free file name and
then use that to write your contents to.
You could improve this code so that it
I'm not even sure this is possible without doing a client side java applet of
some sort.
We are considering porting a standard client/server application to the web
which updates itself dynamically in real time based on values in a database.
For instance, a field on the screen will change in real
That question can be difficult to answer. It all depends on what you are
developing. I presume that since this is a PHP list, that you are
developing PHP pages. On my WinXP laptop, I run Apache, MySQL and
PHP. When I have the program finished, I upload it to the server and have
had no prob
On 29 Apr 2002 at 13:02, Bo Pritchard wrote:
G'day Bo
> I know without the accompanying code there's no way to help me...But without
> having to get real specific what does the following message tell me is
> wrong?
> Warning: Cannot add header information - headers already sent by (output
> sta
On 29 Apr 2002 at 14:14, Joshua E Minnie wrote:
> if(user_exists($dbname,"users","user",$user) > 0) {
echo the variables to make sure they are what they should be.
> function user_exists($dbname, $table, $field, $value) {
echo the variables to make sure they are what they should be.
> $quer
On 29 Apr 2002 at 8:24, Michael George wrote:
> I am looking for some sample code that will parse a file in Unix mbox format.
How much control do you have over the system the mbox lives on? You
might find it easier to do at least some of the pre-processing as a
shell script before feeding it
Hi Richard,
Thank you very much for your prompt response. I incorporated the changes you
have suggested in my code but I am still getting exactly the same error !!!
What do I do now? I even commented the 3 lines related to database but when
I executed the code again, I got the same error but poin
Hello,
Philip Yeo wrote:
> Hi there,
>
> I would like to create an XML parser using Php. Any good references for doing this??
You may want to try this class:
http://www.phpclasses.org/browse.html/package/4.html
Regards,
Manuel Lemos
--
PHP General Mailing List (http://www.php.net/)
To unsu
On Mon, 29 Apr 2002, Richard Baskett wrote:
> Well you don't have an curly braces anywhere in your code..
>
> Try this:
>
>
> If (($_POST['fname']=="") || ($_POST['lname']=="") {
> echo("Please Enter Information In All The Fields !!!"); }
> Else {
> $connectionString=odbc_connect("PHPI
Well you don't have an curly braces anywhere in your code..
Try this:
Rick
"It is the mark of an educated mind to be able to entertain a thought
without accepting it." - Aristotle
> From: "Arpan De" <[EMAIL PROTECTED]>
> Date: Tue, 30 Apr 2002 02:34:53 +0530
> To: [EMAIL PROTECTED]
> Subject
HTML - body contains:
test.php contains:
when I type in: 'example'
test.php echoes : 'exampl'
string-length doesn't matter...
> On Mon, 29 Apr 2002, Herbert Mraz wrote:
> > Strange problem here (win2k - iis 5.0 - php 4.2.0):
> >
> > whenever I send formdata by PO
Hi,
Just a quick question. I'm developing on a Windows machine right now,
and will later move it onto Linux. Should I expect to run into major
difficulty at all? I anticipate a few problems - mainly altering the
file system interaction, maybe even database connections.
I don't know if anybody el
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Joshua E Minnie) wrote:
> Does anybody know of a good way to make sure that a string contains ONLY
> certain characters. I tried using
> ereg("[~`!@#$%^&*(){}-+=|\\/.,<>'\":;\[\]]", $string); but I get parse
> errors. Besides that I only want
I have a simple HTML Form where a user has to enter his first & last name
which will be inserted in a SQL Server database table. The PHP code which
does the needful is as follows (I have created a DSN named PHPInsert
successfully as well):
The above code, when executed, throws the following err
Every time a user logs in, you want to duplicate the database Must be a
very small database...not one with several hundred-thousand records.
It's a SQL question. You didn't specify what database you are using, so
nobody can provide you with specifics.
- Original Message -
From: Liam
This works but the "w" means that it writes over whats already in the file
(look at the manual about fopen for more details)
$new_file = "txt/whatever.txt";
$fh = fopen($new_file , "w");
// write the changed new file
fputs ($fh, $new_code);
// now close the file
fclose($fh);
Regards
John
> le
Hi,
I understand that PHP has experimental extension for sockets. I am
currently running both versions 4 and 4.1.2 on Windows machines, but I
have read that in order to use the socket functions, the
--enable-sockets option must be enabled at compile time. My problem is
the of the "undefined funct
Hello, Hawk,
You might wanna checkout the "w+" modifier.
=== At 2002-04-29, 22:49:00 you wrote: ===
>lets say I have 30 lines of text and I want to store it in a folder called
>"txt" with the filename $name.txt and, if $name.txt exists, create a
>$name1.txt or similiar?
>
>Håkan
>
>
>
>
Did you even try to develop this application? It's to easy.
Do so. If you have problems, then post the code and we'll help you.
- Original Message -
From: Hawk <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 29, 2002 3:49 PM
Subject: [PHP] create textfile if not exis
1LT John W. Holmes wrote:
>There's a difference between error_reporting and display_errors.
>
>Also, are you _really_ sure your query is returning anything? You may
>_think_ it is, but if mysql_fetch_array doesn't return anything, then it
>means your result set is empty. 9 times out of 10 this is
[EMAIL PROTECTED] (Joshua E Minnie) wrote:
> Does anybody know of a good way to make sure that a string contains ONLY
> certain characters. I tried using
> ereg("[~`!@#$%^&*(){}-+=|\\/.,<>'\":;\[\]]", $string); but I get parse
> errors. Besides that I only want the characters A-Za-z0-9_ in
On Mon, 29 Apr 2002, Hawk wrote:
> lets say I have 30 lines of text and I want to store it in a folder called
> "txt" with the filename $name.txt and, if $name.txt exists, create a
> $name1.txt or similiar?
http://php.net/fopen
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsub
$query = "SELECT name,address FROM tbl";
$result = mysql_query($query);
while($myarray[] = mysql_fetch_array($result);
- Original Message -
From: Rodrigo Peres <[EMAIL PROTECTED]>
To: PHP <[EMAIL PROTECTED]>
Sent: Monday, April 29, 2002 9:20 AM
Subject: [PHP] build array dinamicaly
Hi
lets say I have 30 lines of text and I want to store it in a folder called
"txt" with the filename $name.txt and, if $name.txt exists, create a
$name1.txt or similiar?
Håkan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm trying to find files in my array
for example
="lg_imode.gif"
and
="/db/imodeklein/edgar-IMODE-1-.gif"
I want to differentiate between the files with slash at the front and ones
without so that
I can add a server path !
but as usual I' m having problems with the correct regex
At the moment I'
There's a difference between error_reporting and display_errors.
Also, are you _really_ sure your query is returning anything? You may
_think_ it is, but if mysql_fetch_array doesn't return anything, then it
means your result set is empty. 9 times out of 10 this is going to turn out
to be somethi
Austin,
I am using 4.2 on a W2K machine at work and have had no problems with the
mysql_fetch_* functions.
Only thing I had to get used to was the new way to handle globals.
Jeff
- Original Message -
From: "Austin W. Marshall" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, Apr
Do you have some sample code that we could look at?
--
Joshua E Minnie/CIO
[EMAIL PROTECTED]
Phone: 616.276.9690
Fax: 616.342.8750
Nextel: 616.862.2847
"Don't work for recognition, but always do work worthy of recognition."
"1lt John W. Holmes" <[EMAIL PROTECTED]> wrote in message
01ee01c1efbb$
You could explode it using the '-' character.. And then compare the first
element to 2038.. If it's equal to our greater than, then you can compare
the month, and so forth..
Rick
"The most beautiful thing we can experience is the mysterious. It is the
source of all true art and all science. He
1lt John W. Holmes wrote:
> Did you turn on Display_errors in php.ini?
>
> ---John Holmes...
Of Course, i think i even had it at the highest alert level. No errors
whatsoever, ... or die(mysql_error()) yields nothing either.
>
> - Original Message -
> From: "Austin W. Marshall" <[EM
Worked great only you forgot to escape the carat character. Thanks for the
help.
Josh
"Miguel Cruz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Mon, 29 Apr 2002, Joshua E Minnie wrote:
> > Does anybody know of a good way to make sure that a string cont
I have a date string, let's call it 'date a' in the format "2020-10-16"
which I want to compare to the UNIX_TIMESTAMP overflow limit ("2038-01-18").
Obviously I can't convert date 'a' to a timestamp because it may be too
large. How can I make this comparision without converting it to a timestamp?
Hello all:
I have a script that looks like:
...
$name="Project #1";
...
$title="NEW PROJECT: ".$name;
$a=mail("[EMAIL PROTECTED], [EMAIL PROTECTED]",$title,$body, "From:[EMAIL PROTECTED]");
...
When I execute this code (there is no loop anywhere), ALL the recipients
receive 2 emails:
- the f
On Mon, 29 Apr 2002, Liam Gibbs wrote:
> I'm not sure if this is possible in PHP (maybe it's even an SQL problem,
> I dunno), but is there a command that will duplicate a database? I need
> to make a 'mirror' of it that I can dispose of after my user logs out
> that won't change the source databas
example code?
- Original Message -
From: "Herbert Mraz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 29, 2002 4:00 PM
Subject: [PHP] $_POST[] - last character cut away!!
> Strange problem here (win2k - iis 5.0 - php 4.2.0):
>
> whenever I send formdata by POST-meth
I'm not sure if this is possible in PHP (maybe it's
even an SQL problem, I dunno), but is there a command
that will duplicate a database? I need to make a
'mirror' of it that I can dispose of after my user
logs out that won't change the source database at all.
On Mon, 29 Apr 2002, Herbert Mraz wrote:
> Strange problem here (win2k - iis 5.0 - php 4.2.0):
>
> whenever I send formdata by POST-method, the last character gets
> stripped...everything's fine when I use GET!
> I tried various different (HTML-) input types, same everywhere...
Can you show a se
Did you turn on Display_errors in php.ini?
---John Holmes...
- Original Message -
From: "Austin W. Marshall" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 29, 2002 3:52 PM
Subject: [PHP] PHP 4.2.0 on win2k, can't use mysql_fetch_* functions
> Is there something about
On Mon, 29 Apr 2002, Joshua E Minnie wrote:
> Does anybody know of a good way to make sure that a string contains ONLY
> certain characters. I tried using
> ereg("[~`!@#$%^&*(){}-+=|\\/.,<>'\":;\[\]]", $string); but I get parse
> errors.
I'm surprised you get a parse error. I'd expect you would g
I've almost got this working, expect that I'm not sending the correct
"Content-type" header to the RealPlayer player. I've followed a tutorial
from the O'Reilly network (
http://www.onlamp.com/pub/a/php/2000/09/15/php_mysql.html?page=1 ), and
modified it for an Access database, and RealPlayer cont
Strange problem here (win2k - iis 5.0 - php 4.2.0):
whenever I send formdata by POST-method, the last character gets
stripped...everything's fine when I use GET!
I tried various different (HTML-) input types, same everywhere...
register_globals is off, which shouldn't make a difference?
Anybody
Does anybody know of a good way to make sure that a string contains ONLY
certain characters. I tried using
ereg("[~`!@#$%^&*(){}-+=|\\/.,<>'\":;\[\]]", $string); but I get parse
errors. Besides that I only want the characters A-Za-z0-9_ in $string. Is
there is simpler way to ensure this rather
At 14:55 29/4/2002 -0400, J. Holmes wrote:
>what if you do this?
>
>require './.mydotfile.php';
I tried that! No effect. But...
Suddenly it worked!
I now think I to some extent might have been fooled by my desktop PC
caching information where it shouldn't. I have never seen it before (have
s
Does anybody know of a good way to make sure that a string contains ONLY
certain characters. I tried using
ereg("[~`!@#$%^&*(){}-+=|\\/.,<>'\":;\[\]]", $string); but I get parse
errors. Besides that I only want the characters A-Za-z0-9_ in $string. Is
there is simpler way to ensure this rather
Thnaks. It solved my problem.
sanjay
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 29, 2002 7:50 PM
Subject: Re: [PHP] return multiple value from function
On Monday 29 April 2002 22:11, sanjay wrote:
> Hi List,
>
> I am new to
Is there something about the php 4.2.0 windows binary (installer
version) that renders the mysql_fetch_* functions useless?
I installed php 4.2.0 on windows 2000 along with Apache 1.3.24 and MySQL
3.23.49, and in a script i have a simple SELECT statement. The content
is in the database, the q
Help,
When I try to download the php_manual_en.html.bz2 from either IE5 or Netsacape it
displays it as a
web page on the screen. I tried saving it as a file and then unzipping it, but bzip2
says it isn't a
bzip file.
How can I down;load it as a binary which bzip2 will accept ??
Thanks ... [EM
Anyone have any experience resetting the result cursor when using ODBC to
access MSSQL (2000)?
TIA
-josh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 29 Apr 2002, Stefen Lars wrote:
> However, I am interested in learning how to connect directly to the MySQL
> port, as in a second step of the project I am working on, various data from
> various servers will be handled. The 'dump to a file' approach, while fine
> in my little example b
"Stuart Dallas" <[EMAIL PROTECTED]> wrote:
> Print the SQL statement $query just before you call mssql_query() - make
> sure the SQL going in is what you think it is. Also, check
> mssql_affected_rows() after the call to make sure something was modified.
It is writing the proper $query. The reas
> mssql_affected_rows()
Sorry, that should be mssql_rows_affected().
Stuart
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Print the SQL statement $query just before you call mssql_query() - make
sure the SQL going in is what you think it is. Also, check
mssql_affected_rows() after the call to make sure something was modified.
Stuart
-Original Message-
From: Joshua E Minnie [mailto:[EMAIL PROTECTED]]
Sent: 2
"Stuart Dallas" <[EMAIL PROTECTED]> wrote:
> Replace the die("...") with die(mysql_error()) and the message should tell
> you what's wrong.
It never gets to the die("...") statement. The script is returning a
positive integer from the mssql_query() function. I am not seeing it ever
throw an erro
Replace the die("...") with die(mysql_error()) and the message should tell
you what's wrong.
Stuart
-Original Message-
From: Joshua E Minnie [mailto:[EMAIL PROTECTED]]
Sent: 29 April 2002 20:11
To: [EMAIL PROTECTED]
Subject: [PHP] Deleting from a SQL db
Can anyone help me understand wh
This may be slightly off topic so please forgive me, but... I am trying to
get my apache server up and running with PHP and basic authentication.
Everything appears to be okay except the authentication portion. When I try
to access the directory requiring authentication I reciever a 500 error
Can anyone help me understand why this code is not deleting the row from the
MS SQL db like it should.
= 0) echo "User successfully deleted.\n";
...
?>
I am running PHP 4.1.2 binary on Windows NT 4.0 with MS SQL Server 2000
running on Windows 2000.
--
Joshua E Minnie/CIO
[EMAIL PROTECTED]
Phon
While I've never actually had that happen (If Apache crashes, NOTHING goes
out the socket...not the source to the page) in short, there is very little
that you can do to protect yourself against this. For PHP to get to the
file, it has to be readable but the user that Apache is running under. Sinc
1) Yes, store this kind of information outside of your web-root. But I am
not sure if Apache will return the source even if php's parser crashes. If
you are using the module version of php, Apache should be able to "re-start"
itself when such error is found. I believe you can setup Apache (and may
1 - 100 of 215 matches
Mail list logo