php-windows Digest 23 Nov 2002 10:29:40 -0000 Issue 1453
Topics (messages 17083 through 17088):
Re: mysql command problem
17083 by: Rich Gray
install on IIS 6.0
17084 by: Kristof Troch
17088 by: Phil Driscoll
Re: how to access file stats on network dirves..
17085 by: İHenk-Jan de JongT
Filling out PDF Forms Dynamically
17086 by: RS Herhuth
17087 by: Dash McElroy
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
What error do you get with PHP?
-----Original Message-----
From: Gareth Thomas [mailto:[EMAIL PROTECTED]]
Sent: 22 November 2002 02:17
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] mysql command problem
Hi,
I have a Mysql command that when run in PHP does not work and yet when
executed directly in MySQL works fine. The query is:
$query = "UPDATE zone SET current_socket = '' WHERE current_socket LIKE
'R%'";
$result = mysql_query($query);
Anyone have any idea why this wont work in PHP?
Thanks in advance for any help.
Gareth
--- End Message ---
--- Begin Message ---
Hello,
I just installed php on my .Net server. Nothing went wrong during
installation (InstallShield Installation) (no errors were reported), but
everytime I try to execute a php page, he gives an error telling me he
cann't find the page (error 404)...
Could someone help me?
Thanks in advance
--- End Message ---
--- Begin Message ---
On Friday 22 November 2002 3:48 pm, Kristof Troch wrote:
> Hello,
>
> I just installed php on my .Net server. Nothing went wrong during
> installation (InstallShield Installation) (no errors were reported), but
> everytime I try to execute a php page, he gives an error telling me he
> cann't find the page (error 404)...
> Could someone help me?
>
> Thanks in advance
Create a non-php (e.g .htm) page in the same folder as the php script.
Can you access that? If no, then your server web root is not where you think
it is. If yes, then maybe you've got a problem with hidden file extensions -
perhaps yout test php file (which might be called test.php) is actually
called test.php.txt or similar?
Cheers
--
Phil Driscoll
--- End Message ---
--- Begin Message ---
thanxs for your response..
i worked around it the following way:
in my php script i envoke the ntvdm via cmd.exe
through teh command net use drive_letter: \\servername\path /user:username
pass
in the next step i walk through the filesystem using opendir.
en then check wether the returned value is a file or a dir.
this then goes in to my database for further processing.
it works great!
"Brian 'Bex' Huff" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Two things you might want to try...
>
> 1) you are doubtless running IIS or Apache as a service. Make sure that
> you are running it as a user who has access rights to the network drive.
> For example, you may need to run it as a domain user, and supply a
> password. Check the "Services" control panel for more info.
>
> 2) You may want to map your network drive as a local drive
>
> And fyi, its always easier to diagnose your problem if you supply us
> with the exact error messages you are getting...
>
> --
>
> Brian 'Bex' Huff
> [EMAIL PROTECTED]
> Phone: 952-903-2023
> Fax: 952-829-5424
>
> > I'm working on a file sharing solution in php.
> > i got a network share that contains these files.
> > the idea is to read the file data en parse descriptions thru php to the
> > client in html.
> >
> > only problem is that opendir works fine on the local drives, but reports
> > only errors when used on network drives..
> >
> > what's the way to go around this one?
> >
> >
>
>
--- End Message ---
--- Begin Message ---
I have been tasked to create a php web app that merges database information
with a k1 web form that was downloaded from IRS.com. Basically the pdf
contains fields that the user would fill out and then either save it locally
or print it out. I have a database with about a thousand people in it (of
tax information prepared by our accountant) that I would like to merge the
data with the PDF form acting as a template and then once it has been
merged, email a copy both to our accounting department and the individual.
I'm no slouch when programming with PHP, but I haven't done anything with
PDF's before...can someone give me some pointers on a tutorial or outline
how I should approach this?
Thanks,
ROn
--- End Message ---
--- Begin Message ---
Ron,
You should look into FDF. (http://www.php.net/manual/en/ref.fdf.php).
I tested it out (using the function in the second to last comment - I didn't
want to recompile PHP for a one PDF file script) and it seems to work rather
well. I'm not sure if this is exactly what you want, though.
-Dash
-----Original Message-----
From: RS Herhuth [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 06, 2001 6:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Filling out PDF Forms Dynamically
I have been tasked to create a php web app that merges database information
with a k1 web form that was downloaded from IRS.com. Basically the pdf
contains fields that the user would fill out and then either save it locally
or print it out. I have a database with about a thousand people in it (of
tax information prepared by our accountant) that I would like to merge the
data with the PDF form acting as a template and then once it has been
merged, email a copy both to our accounting department and the individual.
I'm no slouch when programming with PHP, but I haven't done anything with
PDF's before...can someone give me some pointers on a tutorial or outline
how I should approach this?
Thanks,
ROn
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---