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?
Thanks
Warning: Cannot add header information - headers already sent by (output
started at /home/omnidevi/omnidevices-www/s-cart/form.phtml:4
>You know that "dot" files are hidden files ? ...
Yes, but I think this only is in contexts where directories are scanned by
some application "respecting" this method of hiding - and that they
otherwise are normal files when addressed explicitly.
However, there seems to be something else abo
===
CC ALL REPLIES TO [EMAIL PROTECTED]
==
Ok, almost got it, installed the header files, compiles fine, cept GD
produces the following error:
gcc -I. -I/usr/include/freetype2 -I/usr/include/X11
-I/usr/X11R6/include/X11 -I/usr/local/include
I created a simple html form with only one textbox & a submit button as
follows:
This is form1.php
Hi
But I don't know why I am not getting the output. I am just getting the
following error:
Notice: Undefined variable: fame in d:\inetpub\wwwroot\php\Form1.php on line
3
In order to p
Can someone point me in the right direction in determining just how secure
PHP really is?
Should you have any questions, comments or concerns, feel free to call me
at 318-338-2034.
Thank you for your time,
Jay Fitzgerald, Design Director - CSBW-A, CPW-A, CWD-A, CEMS-A
===
I am relatively new to the SQL aspect of PHP. I have a small background in
SQL programming, so I can get my way around that part. The problem I am
having is that a query of mine is throwing back zero (0) rows of result. I
am using some simple SQL syntax to check for the existance of a user in a
Problem with Javascript is you have to support an IE version, a Netscape
version and a Netscape 6 version. Then if you need to support users with
dinosaurs, you'll have to have an IE 4 and a Netscape 3 version. Yikes. It
just requires to much programming time for me to do too much with
Javascript.
It means that something has already output to the outbuffer in unbuffered
mode. Therefore, whatever header operation you are trying to do (start a
session? redirect?) cannot be done.
IMHO, the biggest culprit of this is blank lines in your include files.
=C=
*
* Cal Evans
* Journeyman Programme
On Monday, April 29, 2002, at 12:02 PM, Bo Pritchard wrote:
> 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?
>
> Thanks
>
> Warning: Cannot add header information - headers already
On Tuesday 30 April 2002 01:25, Arpan De wrote:
> But I don't know why I am not getting the output. I am just getting the
> following error:
>
> Notice: Undefined variable: fame in d:\inetpub\wwwroot\php\Form1.php on
> line 3
>
> In order to pass the Form values to a PHP page, I went through 3-4
Hi Jason,
Thank you for your prompt response. Yeah, you are right; that was were the
problem was. I incorporated your code & it got executed perfectly.
Thank you once again,
Regards,
Arpan
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Tuesday 30 April 2002 0
On Mon, 29 Apr 2002, Jay Fitzgerald wrote:
> Can someone point me in the right direction in determining just how secure
> PHP really is?
What are you actually trying to find out?
As far as actual security problems in PHP, where the interpreter behaves
contrary to documentation when provided wit
Sorry for answering with a new question.
But, what's if, say, the PHP-Parser crashes (or a filename is changed) and
Apache returns the source. How is it simply possible to store passwords
somewhere a httpd-users won't see it? (e.g. in the includes-Folder, am I
right?)
And are session-variables sen
Hi all,
I'm trying to make the script below run, it is supposed to
print a message and then wait for user input and then print
another message and wait again.
Instead, what it is doing is waiting for all the user input to
be entered before printing anything, and once entered printing
all
what if you do this?
require './.mydotfile.php';
---John Holmes...
- Original Message -
From: "Frank" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 29, 2002 1:59 PM
Subject: Re: [PHP] PHP "ignoring" dotfiles, permissions
>
>
> >You know that "dot" files are hidden fil
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
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
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
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
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
"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
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
> 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
"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
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
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
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
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
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
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
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
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
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
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, 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
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.
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
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
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
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?
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
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
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
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$
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
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
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'
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
$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
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
[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
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
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
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
>
>
>
>
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
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
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
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
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
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
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
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
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
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
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
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
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 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
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
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
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
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
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:
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
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 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
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
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.
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
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
"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
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
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
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
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
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
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
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
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 ",
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
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
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
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
...
...
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
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
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
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
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
101 - 200 of 215 matches
Mail list logo