Ok, I get the following error when attempting to connect to an MS Access
database:
Warning: SQL error: , SQL state 0 in SQLConnect in
c:\inetpub\wwwroot\help\lib\connect.inc on line 2
I have the following as my connect:
$cid = odbc_connect("database", "username", "password");
and I looked
On Tuesday 26 June 2001 00:20, Michael wrote:
> Please help
>
> I am having some serious problems. I have used a text editor to write the
> following code and saved it with a .php extension
>
>
I couldn't see any obvious mistakes in yout httpd.conf, but it struck me that
if short_open_tag was n
I have a bit of an inside track at MS camp, and would be very careful about
using this module. dotNet seems to change every 5 minutes, even though they
are supposed to be past the making big changes point. I'm not sure how
internal class changes would affect the php_dotnet.dll, but just thought I'
NT 4.0 / IIS 4.0 / PHP 4.0.5
I'm new to PHP and I think it's great.
I am trying to set a custom error_handler function, but when I call:
error_reporting(0);
$old_error_handler = set_error_handler('new_error_handler');
$old_error_handler always returns FALSE.
I know my new_error_handler() func
Hi Thomas,
The problem you are seeing has to do with access to the remote directory. The
webserver is normally running as user IUSR_ and that user does not have
access to the remote directory.
- Frank
> Hello...
>
> I'm running an ApacheWebserver 1.3.20 with mod_ssl/2.8.4, OpenSSL/0.9.6a and
I want to prevent duplicate entries into my mysql database which holds
invertory of all network eqpt at my site. Engineers access it thru
netscape and the query insert is done via pdp [below].
I will place the script into php, any pointers on this would be
appreciated.
THX!
Pete
Hi,
I am a Win NT4.0 user and just start to use PHP. I
don't have much web programming experience. Now I need
your help.
I try to use system() to run a batch file which
sitting on a mapped network drive like
this :
system("e:\\tmp\file.bat")
but it gives me "Access is denied".
I can run this b
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear Bryan
On 26 June 2001 at 13:58:47 +1000 (which was 04:58 where I live) Bryan
rearranged electrons to get
> Its on my laptop, and yeah, it works when I am connected to the network
> at work, or connected to the internet from home. It doesn't wor
Hi Everybody,
I'm a php newbie - (best to warn you straight away!!!)
How do I use session variables?
In asp its just:session("somevariable")
Thanks in advance,
Jason.
-
Jason Belletty
Software Development
w: www.spinoffproducts.com
e: [E
It works.
Thanks a lot Johan.
Alessio.
"Johan Lundqvist" <[EMAIL PROTECTED]> ha scritto nel messaggio
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Have a look at "Program Execution functions" in PHP manual.
> There you will find the syntax et.c. for exec(), system(), passthru()
> that might b
Have a look at "Program Execution functions" in PHP manual.
There you will find the syntax et.c. for exec(), system(), passthru()
that might be interesting to you.
Happy coding.
/Johan
"Alessio Bernesco Làvore" wrote:
>
> Well...
> I've to execute by the command line a program called "HTTrack"
Well...
I've to execute by the command line a program called "HTTrack" that will
parse all the site and recreate it with just simple html pages in another
folder, where all the site can be downloaded for off-line consulting. To
minimize the creation time the application (HTTrack) will run directly
Hi,
That's a tricky one... dunno if it really could be done without many
security issues and ugly workarounds.
I think you got it a bit backwards...
If I ask you like this:
What is it that you need in the batch file, that can't be done in PHP?
/Johan
"Alessio Bernesco Làvore" wrote:
>
> Hi,
Hi,
I've a batch file on the server, how can i launch it and know when it's
finished.
Thanks everyone,
Alessio.
--
PHP Windows 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
Ok, I'm stumped. I get this error when I try to connect to an MS Access
database through ODBC:
Warning: SQL error: , SQL state 0 in SQLConnect in
c:\inetpub\wwwroot\help\lib\connect.inc on line 2
I'm stumped because if you look up that error code, it stands for success.
Hmm, error code? He
Michael wrote:
>
> Dear Johan
>
> In answer to your questions
>
> A) I have restarted Apache
Good..
> B) I stored it in the htdocs file within the Apache installation directory
That's like "c:\program files\apache group\apache\htdocs\", ok?
> C) I was not aware that I had to change anything o
A big thank you to all that replied!!
I was given a number of solutions and have so far tested two and found both
of these to fix the problem.
1. Instead of using http://mylocalhostname/filename.php, I used
http://127.0.0.1/filename.php and it processed OK when I wasn't connected.
2. Try workin
Well i would like to know one thing.
Do you get the emails that are sent?
if so you have a problem different from the case you don't get any e-mails.
if you don't get any emails, you need to know a SMTP adrress (from your
ISP) and go to php.ini and search for [mail]. There you can find somethi
Dear Johan
In answer to question C, I have checked and it is set to 'ON'
"Johan Lundqvist" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Just to check the obvious
>
> A: You have restarted Apache?
> B: Where did you store phpinfo.php?
> C: You have set "shor
Dear Johan
In answer to your questions
A) I have restarted Apache
B) I stored it in the htdocs file within the Apache installation directory
C) I was not aware that I had to change anything on the php.ini file, what
should I do here
I have been trying to get this to work for a few days now.
I
Hello Bryan
On 25 June 2001 at 22:27:06 +1000 (which was 13:27 where I live) Bryan
might have written
> I have a problem where I can only view the output in my browser from the php
> files when I am connected to the Internet.
> When I am not connected, I get the standard error page in the broswe
Try running e:/apache/cgi-bin/php.exe -i from the command line. You will
probably get an error message to tell you exacly what's wrong.
Cheers
--
Phil Driscoll
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Just to check the obvious
A: You have restarted Apache?
B: Where did you store phpinfo.php?
C: You have set "short_open_tag = On" in php.ini?
/Johan
Michael wrote:
>
> Please help
>
> I am having some serious problems. I have used a text editor to write the
> following code and saved it with
Hello...
I'm running an ApacheWebserver 1.3.20 with mod_ssl/2.8.4, OpenSSL/0.9.6a and
PHP 4.0.6.
My PHP scripts gets data from a Paradox 5.0 database currently placed on the
same pc as the Webserver. I'm using a System DSN called "MXPROCESSDB" - and
all works fine... But if I move the database t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello Bryan
On 25 June 2001 at 22:27:06 +1000 (which was 13:27 where I live) Bryan
emanated these words of wisdom
> I have a problem where I can only view the output in my browser from the
> php files when I am connected to the Internet. When I am n
php-windows Digest 26 Jun 2001 09:49:23 - Issue 628
Topics (messages 8021 through 8038):
Re: Testing php in Win2000?
8021 by: David Elliott
8029 by: Bryan
8038 by: Phil Driscoll
iconv
8022 by: Marecandja
phpinfo() crashes apache
8023 by: Mark Maggel
This may not be your problem, but since it's bitten me on NT before, I
thought I'd mention it.
I never have any problems accessing the local web server via localhost or by
the machine's IP address, however if I try to access a local site via a name
set up in the winnt\system32\drivers\etc\host
Hi!
I created a database in freesql.org and some scripts to access it. If I
run the scripts from php.exe (under windows NT) they work fine, ie.
access the database and retrieve data ok. But when I run them from
browser I get the following error:
Warning: MySQL Connection Failed: Can't create TCP
Hi Again
I hope that you all realise that I am using Apache 1.3.12
Also I am able to see the Apache start up page when I type htttp://localhost
Regards
Krysia
""Michael"" <[EMAIL PROTECTED]> wrote in message
9h9g5f$t9f$[EMAIL PROTECTED]">news:9h9g5f$t9f$[EMAIL PROTECTED]...
> Please help
>
> I
Ruslan Ohitin wrote:
> Hello Michel,
>
> You mixing php variables and Template variables. They are from
> different "namespaces". set_var() takes associative array with string
> keys - Template var names. Edit one line of your code:
>
> ML> $var = ${"DAY".$j};
> $var = "DAY" . $j; // $var is
Please help
I am having some serious problems. I have used a text editor to write the
following code and saved it with a .php extension
I saved this in the htdocs directory.
I then went into my IE5 browser and typed http://localhost/phpinfo.php
What I saw was the above code in my browser
Bryan wrote:
> Hi,
>
> Win2k, IIS, 4.05
>
> I have a problem where I can only view the output in my browser from the php
> files when I am connected to the Internet.
> When I am not connected, I get the standard error page in the broswer.
>
> Hope someone can help??
>
> --
> PHP Windows Mailing L
Hi, I have an NT server setup with Apache 1.3.x and just got
PHP installed again and working (with extension=php_gd.dll commented
out).However, once I uncomment that line, I get an Internal
Server Error.
"Premature end of script headers: e:/apache/cgi-bin/php.exe".
Now I have the php_gd.d
Thanks Hugh,
I have been trying http://mylaptop/whatever.php where mylaptop is the
localhost but it won't process when the laptop is standalone and not
connected to the network or dialled in to the web. When I am connected, all
php scripts work fine.
Am I missing something in the configuration of
On Mon, 25 Jun 2001 22:27:06 +1000, Bryan ([EMAIL PROTECTED])
wrote:
>Hi,
>
>Win2k, IIS, 4.05
>
>I have a problem where I can only view the output in my browser from
>the php
>files when I am connected to the Internet.
>When I am not connected, I get the standard error page in the
>broswer.
>
>Hop
""Bryan"" <[EMAIL PROTECTED]> wrote in message
9h7agu$biv$[EMAIL PROTECTED]">news:9h7agu$biv$[EMAIL PROTECTED]...
> Hi,
>
> Win2k, IIS, 4.05
>
> I have a problem where I can only view the output in my browser from the
php
> files when I am connected to the Internet.
> When I am not connected, I g
Thanks for the response.
Its on my laptop, and yeah, it works when I am connected to the network at
work, or connected to the internet from home. It doesn't work at all when
the laptop is standalone.
Is there a workaround for this??
Thanks,
Bryan.
"David Elliott" <[EMAIL PROTECTED]> wrote in me
Hello Michel,
You mixing php variables and Template variables. They are from
different "namespaces". set_var() takes associative array with string
keys - Template var names. Edit one line of your code:
ML> $var = ${"DAY".$j};
$var = "DAY" . $j; // $var is a string "DAYn"
--
Best regards,
Hi Folks,
I was just wondering if anyone knows anything about the work being done the
php_dotnet.dll extension?
Where is it at, and what is planned for it?
I found the following link from Google:
http://www.seismo.unr.edu/ftp/pub/updates/bankert/php-4.0.4pl1/ext/dotnet/
Which lists Sam Ruby i
39 matches
Mail list logo