t; www.php4win.com.
>
> Also be sure to give the appropriate permissions on the share to the
> anonymous user in IIS. Usually this has to be a valid network user. And
you
> should also check 'check that file exists' in the script mapping panel
where
> you map .php files to php.e
I am running IIS on my PC as a development platform, and all is good. I'm
wanting to set up a virtual directory to a network drive on the LAN and it
works fine for HTML files, but when accessing a PHP file I get
The specified CGI application misbehaved by not returning a complete set of
HTTP hea
just use the IP address of the Exchange server, or your ISPs smtp server
"Joseph Koenig" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I'm developing a site on a NT box (I'm much more familiar with unix) and
> am unable to get mail to send on NT. I'v
When using sessions, is each session_id unique? Is there a way of making
sure they are?
CJD
--
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
exec() will execute the app as the system, not a user, so cannot interact
with the desktop.
One way of getting around this would be (for NT) to use the exec() command
to create an AT schedule for 1 min in the future and set it to /interactive
which would cause the app to load and interact with th
Depending on the command you are trying to run, you might have to put
"command /c " as calls like copy, del, dir etc are internal to
command.com and need to be poped into a new shell to run.
"Christian Dechery" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
This is usually because PHP does not have write/create permission on the
server's web directory. Ask you host to alter it for you.
"Alexandre Busquets Trioal" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I´tring to do an upload images files script for my re
You can use basename() to get the file part, dirname() to get the directory
part, or pathinfo() to get all of it in an array.
"Alexandre Busquets Trioal" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi
> There are any function there returns de completly pat
use exec() to call the zip/unzip command
"Raphael Pirker" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi Guys,
>
> Is there any way I can create a zip file from files? (filenames and their
> paths will be specified in an array) Any help would be very much
>
user as the webserver) and what rights it has.
"Clock" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> µL?
> Ócode ¨Ó¦Û¥xÆW®Ñªºexample
> ¦³ÉN¥i¥Hsolve?
>
> Cjd ¼g¤J¡G
>
> > PHP probably does not have write acces
PHP probably does not have write access to the disk.
"Clock" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi
> Warning: fopen("9-02_counter.txt","w") - Permission denied in
> c:\inetpub\wwwroot\9-02_pcounter.php on line 20
>
> Warning: Supplied argument is
In the page which receives the post, simply do:
insert into TABLE (x,y,z) values ($x,$y,$z);
mail("me@mymail","subject","$x\n$y\n$z);
<[EMAIL PROTECTED]> wrote in message
OF8F2A938C.D46863F6-ON65256AC8.002FEFF3@domain">news:OF8F2A938C.D46863F6-ON65256AC8.002FEFF3@domain...
> Dear List
I do a similar thing. Sending a message to almost 2,000 people each month
(subscriptions - not spam!) on behalf of a client. I run it on the command
line, and it never times out.
"John Lim" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Check out the at com
Best thing to do is create a user for the webserver/php and run as this
user. You can then restrict the access of that user to specific areas. This
is OK if you are running a single server/domain model, but if running
virtual domains or multiplue websites, to secure the other peoples websites,
yo
If I read this right, the data field actually contains "name1, name2, name3,
name4" in which case, you'll need to explode the field to access it's parts.
$vals=explode(", ", $DCD);
foreach ($vals as $val ) {
print "$val\n";
}
"Robert Trembath" <[EMAIL PROTECTED]> wrote in message
[EMAIL PRO
if you know the name of the file, and the directory, then use:
if (file_exists("directory/filename.jpg")) {
print "found";
}
Watch out for case sensitive OS's tho. x.jpg != X.JPG
A more complete method for searching a directory would be:
$handle=opendir('.');
while (($file = re
To have the items auto-numberd so as to skip blank entries, use:
for ($i = 1; $i<6; $i++) {
print "\n";
}
then if on items 1,2 and 5 are filled in, you will have a array with just 3
elements in it.
"Mike Flynn" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED].
create a form which posts to itself and in the page have this:
if ($Submit=="Submit") { # where $Submit is the name of the submit button.
# do form validation/actions here
} else {
# display the form here
}
"Jeff Howard" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMA
no
matter if it's mapped or UNC'd
If anyone has a cure, or can actually do this, please post here, as I have
met many other people in the same boat.
CJD
"Paul Smith" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Try ma
while ($item=mysql_fetch_array($result)) {
print $item[title];
}
The loop will continue until the result reaches the end then stops. Also
works for $result with no results in it (skips the loop) and you can use
mysql_data_seek($result,0);
to reset the counter to the top ready for the next
I believe the functions are used to write to printers local to the
webserver, not the client.
"Deleo Paulo Ribeiro Junior" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hello!
>
> I have sent some questions about printing functions and unfortunately I
had
> no answer.
>
> Does
much easier to use:
number_format($number,2);
"Jason Brooke" <[EMAIL PROTECTED]> wrote in message
019201c123a6$d4d69320$58c2a4cb@co3040297a">news:019201c123a6$d4d69320$58c2a4cb@co3040297a...
> > does anyone know
> > how to convert a
> > number like 324.42932 to 324.43 format
> >
> >
a.. Run Regedit.
b.. Navigate to: HKEY_LOCAL_MACHINE /System /CurrentControlSet /Services
/W3Svc /Parameters /ScriptMap.
c.. On the edit menu select: New->String Value.
d.. Type in the extension you wish to use for your php scripts. ex: .php
e.. Double click on the new string value a
Try using short names not long names for your paths
instead of c:\Program Files
use c:\progra~1
and so on.
"Clive Porter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi i just installed PHP4/Apache on W98
> when I call a .php file from PWS the line
>
> [0
Remember that the value of a cookie if updated is not available until the
next time it's loaded. So, updated & set the cookie, then set a variable to
the new value and use the variable in the page.
e.g.
setcookie("blah"..etc)
$blah="xxx";
"Science" <[EMAIL PROTECTED]> wrote in mes
I recently transfered a site from a server which WAS using
'magic_quotes_gpc' to one which wasn't. MAJOR pain to go through all of the
code and add the addslashes() command, so probably (for portability reasons)
bettert o use the addslashes() command by default.
"Matt Cahill" <[EMAIL PROTECTED]
26 matches
Mail list logo