I didnt think you can do that. It might work if you left out the http:// and
domain.com was the domain of your server. You usually have to do the local
path e.g. /usr/include/file.txt or c:/usr/include/file.txt.
"Sonia" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTE
There is a class for connecting to a SMTP server directly at phpbuilder.com
I think. This is really useful if you've got a fast internet connection
i.e. the web server is hosted by someone.
"Aris Basic" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi
> Im
Is 192.168.0.2 a valid IP address? I didn't know you could have a zero as
one of the elements.
"Dl Neil" <[EMAIL PROTECTED]> wrote in message
0ac801c1c118$1f9244e0$c200a8c0@jrbrown">news:0ac801c1c118$1f9244e0$c200a8c0@jrbrown...
> Scott,
>
> > Come to think of it I have MS SMTP service from the
et...
and it works fine!!!
"Laserjetter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm running GTK on Win32 and have made an app that connects to a server
and
> downloads some data.
> I tested it over my LAN and it works fine,
I'm running GTK on Win32 and have made an app that connects to a server and
downloads some data.
I tested it over my LAN and it works fine, using both 10.0.0.1 and
gethostbyname("amd") as the host in fsockopen(host, 80, 30)
I've now tried running it over the internet, trying to connect to the serv
Have you checked the capitalisation? (It seems ok in this bit of code)
Try changing $submit to $Sumbit anyway - see if it helps
LJ
"Chris" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> i get this message when i try to open this page : PHP Warning: Undefined
Shouldn't
&line = mysql_fetch_row(&result);
read
$line = mysql_fetch_row(&result); ??
If its not this then check for missing off the final } on an if
statement-gets me quite often!
LJ
"Andrew Ziem" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I a
RE access violations:
I've never encountered this error message with PHP but for some reason on
Win98/Apache 1.3.20/PHP 4.0.6 and also running WinVNC for remote control, I
cannot modify any files which have been used or processed by Apache. This
includes any PHP files which have been executed and
I would recommend you try asking your cable company if they know what the
problem is (I wouldnt tell then you're trying to run a server though, say
you were uploading files to your co-located server at LINX ;) ). They might
boost the upload bandwith at the expense of the download or give your stre
Are you using a ISDN type line (digital signal) or ADSL type line
(Broadband, Analogue signal)?
If you are using ADSL, then it is set up to download much faster than it can
upload as this is the usage pattern of a normal internet user.
AOL does not recommend using ADSL for running servers because
ave different screen sizes for different models. In the
> same respect, you can't find out a PC users screen size through PHP,
> javascript, or anything else you please.
>
> Javascript doesn't work on WAP phones. Forget that. You're thinking of
> WMLscript, not
hat sends the user to the
correct
> version (using the script at 1.)
>
> Good luck with it, let me know how you get on as I'd really like to hear
> other peoples opinions on this, seeing as I'll have to write an 80 page
> dissertation on it!!!
>
> Regards
>
> Ross
I was fiddling around with the Nokia WAP toolkit the other day and I've
created a pretty little WAP site - just listing dates and it has a WBMP
image as a welcome screen.
Whilst looking for someone to host the site, I noticed a review for f2s
which said "allows PHP to be combined with WML" That
Apache is usually set up alredy to look for an index.htm OR index.html file
as the start page in a directory. You can check this in httpd.conf: Open it
in notepad and do a search for 'index.html' or 'index.htm' to find the list
of pages to use as an index - you can add index.php if you wanted as w
Look at the source code for the blank page. Does it have a load of HTML tags
e.g.
?
I kept getting this with certain scripts (but with Apache 1.3.19) and I dont
know why but it seemed to go away after a bit more work on the PHP page. I
dont know what it is or what procuces that HTML either.
"Ru
I've just been preparing a site for upload from my local test server to the
net and have come accross a php.error.log file which was 13.4Mb!
I'm using PHP 4.1.0 and Apache 1.3.19 on Win98se and ever since upgrading to
4.1 PHP
has been creating these error log files all over the place. Does anyone
The PDF manual I downloaded for 4.0.6 said something about unlink not
working on windows but it's always worked fine for me!
It might be a warning as it may not work under certain conditions
"SéBastien ThüLer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I
The PDF manual I downloaded for 4.0.6 said something about unlink not
working on windows but it's always worked fine for me!
It might be a warning as it may not work under certain conditions
"SéBastien ThüLer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I
WinZip will need parameters to run from the command line for example to tell
it what file to unzip. Did you include these in the command string?
WinZip might be waiting for you to press a key or enter some information.
It might not be able to find files because the dos window could open at any
fol
try getting rid of the extra line between wrote in message
000b01c18fbc$71813000$[EMAIL PROTECTED]">news:000b01c18fbc$71813000$[EMAIL PROTECTED]...
The test.php file only has:
http://www.qnet.fi\r\n\n";);
exit();
?>
Result is a blank page, source code:
[!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
I'm not sure about all that stuff that appeared in the log file. I dont have
any idea what those programs are for.
Has what Todd said helped?
The question about "GET /phpinfo.php HTTP/1.1" 200 33: GET means that the
browser told apache to GET /phpinfo.php. HTTP/1.1 is the way in which the
file w
pe this helps a bit!
"Laserjetter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Its nothing to do with the browser, you need to tell Apache that .php
files
> need to be sent to a browser and are not downloaded.
> By default,
Its nothing to do with the browser, you need to tell Apache that .php files
need to be sent to a browser and are not downloaded.
By default, Apache handles .htm and .html files but you need to tell it to
send .php files to the PHP program. Apache then sends the output from PHP to
the browser windo
Just been for a surf and I think on www.phpbuilder.com there is a script
(not an extension) for reading and modifying a .ini file. It's probably
using fopen etc though.
"Craig Morrison" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTEC
There may be extensions available which come with your email server but I
would just use fopen and file() to modify .ini settings
"Craig Morrison" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> I've spent some time searching through www.php.net and the PHP
Out of interest, would it be possible to load a webpage as a record in a
MySQL database, having another field as say a number or a unique name so
that a whole site could be placed in a database with a couple of php files?
Is there a limit on the size of a field in MySQL which would stop you doing
Are you loading all the other extensions as well?
I know some of those extensions need files from the dlls folder copying into
the windows sytem folder (I'd copy them all over) but I dont think you need
to copy the ones from the extensions folder and starting with "php_". Which
ones did you copy?
If you're using Apache I'd recommend using the server extension thingy
instead. I think I had problems with the CGI on Apache 1.3.22 and Win98
(worked fine with Xitami 2.5+Win95 though).
"Alain Samoun" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> OK: Try t
Does anybody know of or can recommend any freeware text editing tools for
editing PHP code in Win32?
I can manage with Windows' Notepad but something with code highlighting etc
and of a similar footprint to notepad would be useful.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscri
Regarding the variables, although the new version is backwards compatible
with the way variables were passed in the old version, I found I could only
use the $_POST['variable'] to get the variable. I think you might need to
tinker with the new php.ini file and check the register global variables
t
Hi. I posted back about this before.
You need to put libeay32.dll and ssleay32.dll in the system32 folder on
win2k. I found it easier to just copy the lot from the dlls folder into my
system folder - will stop it happening with nay other extensions
LJ (not feeling too good)
"Todd Cary" <[EM
Does anyone know of anyone who does PHP web hosting with the curl extension
enabled? I'm having trouble finding anyone. If possible, free hosting would
be preferred and banner ads would be ok (within reason)
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTE
Dont worry folks, I've fixed the problem now. I hadn't copied libeay32.dll
and ssleay32.dll to my system folder!!
---
"Laserjetter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED].
Hi. I tried enabling the cURL extension on two machines: one running Apache
1.3.19 and PHP 4.1.0, the other Apache 1.3.19 and PHP 4.0.6 both on Win98se
by uncommenting the line in php.ini and copying the php_curl.dll file to my
system folder.
Whenever Apache starts up with this configuation it say
I'm a windows person (sorry) but i like playing around in RedHat Linux but
havent sorted out PHP and MySQL for it yet.
"Erik H. Mathy" <[EMAIL PROTECTED]> wrote in message
001a01c18741$6e4675e0$3700020a@erik_laptop">news:001a01c18741$6e4675e0$3700020a@erik_laptop...
> > Anyone doesn't running L
The interface could even be written in something like VisualBasic, C++ or
even QuickBasic and compiled as a DOS exe. This would let you access the
serial port and return the value of the sensor.
If you want to be really flash, a serial output could be connected to a
mains relay which could switch
TED]
> >Subject: RE: [PHP-WIN] Re: coffe message
> >
> >
> >The only thing I found about COM with php was the Component
> >Object Model,
> >and that doesn't really relate to the serial port, does it?
> >
> >>-Original Message-
> >>
e machine only supports IEEE 805
>
> >-Original Message-
> >From: LaserJetter [mailto:[EMAIL PROTECTED]]
> >Sent: Monday, December 17, 2001 9:42 PM
> >To: [EMAIL PROTECTED]
> >Subject: [PHP-WIN] Re: coffe message
> >
> >
> >Yes, if you had a coffee
Yes, if you had a coffee machine with a network socket and supporting TCP/IP
I can see that this would clearly be possible using sockets!!!
"B.A.T. Svensson" <[EMAIL PROTECTED]> wrote in message
27E647E5629ED211BF78009027289C6302157D67@mail1">news:27E647E5629ED211BF78009027289C6302157D67@mail1.
Thanks all of you. I'm sure one of these will work!!
--
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-mail: [EMAIL PROTECTED]
Is there a way for PHP to attempt to open a URL and return the HTTP response
header?
For example, I want to make a PHP page which will redirect a visitor to a
mirror site if it encounters a 404 Not found error whilst trying to open the
website homepage. This test page will reside on a seperate ser
41 matches
Mail list logo