Try adding a slash to the end of the URL i.e. www.whatever.com/~jondoe/ and
see if that helps.
Maybe Apache tries to parse your PHP file as if it is an HTML file.
"Omland Christopher M" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all, I'm new to the ma
Its probably a problem with your mail server software not being able to send
email out. I think you need t tell it to connect to another email server
outside of your network
"Mindless Bot" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> I hope maybe
If you had a suitable cable, phone and controlling software, You could send
the SMS using the mobile phone. Not sure how you interface with external
apps from PHP though.
"Frank Hertogs" <[EMAIL PROTECTED]> wrote in message
004f01c1c0a4$b5752f50$3400a8c0@fritzzz57619dp...">news:004f01c1c0a4$b57
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
If the login form is processed by a PHP script, just do
header("Location: newpage.html");
This will either redirect the page in the fram or redirect the whole
document in the browser window.
LJ
"Morten Nielsen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I'm currently sending an HTTP request for
clientlogin.php?date=2002-02-12&type=nl and doing this by opening a socket
connection with fsockopen, fwriting "GET
/clientlogin.php?date=2002-02-12&type=nl.." to the socket and then using
fgets to read the response.
How do I send a POST request using
I remeber a while ago there was a question asking if you could make
standalone applications but written in PHP rather than VisualBasic or C etc
and somebody replied with a website which could help.
Could someone re-post the message please! I can't find it in the archives!
I think GTK might be wh
I've just realised that the suffix for the day of the month is correct for
today (1013336429) but it isn't the 2nd today and my clock is set right.
Anyone got any ideas?
"Laserjetter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PR
Using the code below:
$buffer['Last_access'] = 1013336429;
$date = date("H:i D, nS M Y",$buffer['Last_access']);
print $date;
prints "10:20 Sun, 2th Feb 2002"
I didnt know there was a 2th of February!!
Is this a bug and do I get a prize for finding it? ;o)
LJ
--
PHP General Mailing List
If you try and use $var in an operation ( i.e. .= <== etc) and you
get an error saying "Undefined variable" then isset($var) = FALSE
LJ
"Erik Price" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hm. I hope I'm not opening an old wound:
>
> Curious
Get hold of phpmyadmin - it makes MySQL easier!
Are you logging on to MySQL as root from the computer on which mysql is
running and are you supplying a password? Even if the root password is
blank you still need to enter the password as blank I think!
"Roman Duriancik" <[EMAIL PROTECTED]> wrot
I'll second that comment on the documentation with PHP.
I bought the Definitive HTML Reference a few years back as an HTML reference
because there was no single place where you could get a high quality
refernce for all the HTML, CSS and JavaScript commands.
The online documentation is pretty good,
There is something. Its one of the enironment vars I think. Look for UNAME
or U something.
I'm not sure if this gives the current OS or the OS on which PHP was
compiled though.
"Ivo Stoykov" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi group:
>
> Is th
I read somewhere that if you type an underscore it clears authentication
info. I haven't tried it and it seems obscure but its worth a try!
LJ
"Frederick L. Steinkopf" <[EMAIL PROTECTED]> wrote in message
018201c1ac67$c4d9c6a0$851a88ac@frederis">news:018201c1ac67$c4d9c6a0$851a88ac@frederis...
>
Don't worry, I'll post back to yourmessage with something relevant!
I would recommend redirecting according to what language the user has
selected in their browser as an IP address can be unreliable e.g. someone in
India could be using an IP address which is registered to an English
speaking comp
Is the external exe waiting for more input from you before it finishes?
Also, is the call to system() or exec() whatever inside or
tags as sometimes this makes a difference as to whether or not anything is
displayed - some characters are ignored by HTML
LJ
"Chris Randall" <[EMAIL PROTECTED]>
Maybe this is something which should be changed in future PHP releases.
Even the Windows Calcuator and my old scientific calc know that cos 90º is
0!!
Out of interest, have you tried any results using trignonometrical
identities ie tan() =
sin() / cos() to see if the error cancels out in the end?
Not quite your thing, but I'm sticking the school's timetable on a server so
that anyone can call up their lesson timetable and also find out teacher's
timetables and whether or not classrooms are free.
The only way I found I could do this was in MySQL and although I dont know
of any projects, I t
I've set up a PHP server (using Apache, MySQL and PHP module) successfully
on the follwoing systems:
Win98, Pentium120, 32MB Ram <-- pretty fast
Win95, 486-100Mhz, 16MB Ram <-- Was speedy apart from the dodgy hard disk
Win95, 486-25Mhz, 8Mb Ram <-- chugs along quite nicely as a personal web
serv
If it is frame forwarded, you would get a 300 OK status becuase you have
accessed a web page and it has been server OK. The webpage (which contains
the tags) then send a request to another server to get the page
to be redirected to.
The only way to check for this would be to see if the page you h
can you not print the charset inside one of the HTML tags? ( it
might be in).
Also, if you dont want to keep typing out
htmlentities("¤",ENT_QUOTES,"iso-8859-15") to get a euro, just do:
$euro = htmlentities("¤",ENT_QUOTES,"iso-8859-15");
LJ
"Sönke Tesch" <[EMAIL PROTECTED]> wrote in message
[
Depending on how secure the login information needs to be, you could just
store it in a text file, maybe using password() to encrypt passwords. You
could then access it using fopen() and save the contents of the file in an
array.
I'm not too hot on login and authentication though myself! I did ge
Forget that last post - sorry!!!
Instead of using password('$password') in the query string, I would insert a
line before connecting to the DB:
$newpass = password($password)<-- dont need quotes round here
then
$query = "SELECT username,password FROM users WHERE username=$username AND
pass
Try changing all the single quotes to double quotes (' to "). As far as I
know, PHP only expands the contents of the variable if it inside double
quotes, otherwise it reads it as $variable
LJ
"Hawk" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I've been tr
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
If I wanted to do a search engine for the web (and maybe for just a site) I
would set up a MySQL database and have a record for each site which is
included in the index. There would be fields for URL, Page title, Keywords
and maybe description / text extract from the URL.
It would be quite a simpl
Site which offer SMS are also closing down / becoming unreliable as the UK
networks are charging other network operators for sending messages to phones
on their network.
This doesnt really affect mobile phone users because the costs cancel out
over time but discrimnates against web sites who dont
you have a and $tempsql. did you remove
this for the purose of this posting or is this what's causing the problem??
"Rick Emery" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Show all your code. Did you open a connection to the MYSQL server? If
so,
> sh
If you send a form on an HTML page using GET then the variables show up in
the URL. If you send it using POST then they dont.
With PHP 4.1.0 even if the variable is typed in the URL, PHP should only
read the real variables which were submitted if $_GET[$varname] is used (or
whatever it is!)
I hav
I've noticed on some web pages that when the back button is pressed the data
in the fields is still there and sometimes it isnt. I would expect this with
a password field but why does it only save the data sometimes?
"Mark" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROT
You could try guru.com
LJ
"Richard Spangenberg" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I may need some help on a project I am working on.
> Does anyone know of a good source of PHP developers where I can advertise
my
> needs?
>
> Rick
>
>
--
PHP
I had Apache running on Win98 and doing a pretty demanding job (well, for a
350MHz K2) and it slowed the machine down noticeably.
If the PHP script timed out the computer came back to like but if i closed
the browser window or clicked stop it seemed to keep doing it.
Maybe MySQL is finishing off t
Can you not just delete the ScriptAlias line?
What does that line actually do apart from create an Alias?
LJ
"David" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Wow!, i tried it and it really works, this is serious man! is there a fix
around it without saf
use fsockopen to open a socket on the host and call it $f then
fwrite($f,$data)?? would that work?
LJ
"Jonathan Hilgeman" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a host and a port and I BELIEVE that the protocol is HTTPS but I'm
> not sure. In t
1010101@PHIL...
> I've looked around php.net and i can't find anything about extra dll's.
>
> Does anyone know where i can get an up to date version of php_imap.dll
from?
>
> Maybe my version is old.
>
> Thanks
>
> Phil
>
> - Original Message ---
; what it says because it's still processing the file.
> > Internet explorer didnt work and MS-DOS editor just said "Out of
> > memory" and closed on me
> > Never mind!
> >
> >
> >
> > "Laserjetter" <[EMAIL PROTECTED]> wrote in
This sounds similar to the problem I had but with other extensions.
Does the IMAP extenstion need any dlls from the c:\php\dlls folder to work?
(You can find out this somewhere on www.php.net). If it does then you need
to copy these to your system folder. (system32 folder probably). Better
still,
I need a program which will let me open it!
Using notepat just runs wordpad which wont let me scroll down to see what it
says because it's still processing the file.
Internet explorer didnt work and MS-DOS editor just said "Out of memory" and
closed on me
Never mind!
"
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
AOL UK say their ADSL service isnt good for hosting because it is
asymmetrical: you can download data faster than you can send it out which is
fine for surfing the net but not so useful for running a server.(I just
think AOL dont want people hosting servers using their service though!)
We have a P
There's some info in the release notes for 4.1.0
"Edward Marczak" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello!
>
> Two items in the new 4.10 change-log caught my attention:
>
> *Introduced a new $_REQUEST array, which includes any GET, POST or
>
Is there a utility out there that checks for typos, like a spell check but
for code? They are the most annoying things ever and probably the hardest of
errors to find in scrips.
Something simple, even command line would be handy.
Also, its interesting that only one user of the script got the erro
Ikonboard has a very nice interface and I know that its very popular but, as
you thought, it is CGI based.
I've never managed to get it working - maybe because I couldnt get Active
Perl working properly (well, it was a 25MHz 486 with 8Mb RAM!!).
If you're more into PHP I'd go with phpbb as you'd f
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
I found that 4.1.0 is not exactly backwards compatible r.e. the new more
secure variables as I think you have to change one of the settings in
php.ini to get it to work. I've had no real problems running it as a module
under Apache 1.3.20 on Win98.
"Robert Dyke" <[EMAIL PROTECTED]> wrote in mes
Does 1st page work well with PHP? The website says its good for Perl, HTML
and ASP but it doesnt mention PHP anywhere.
:-s
"-Bd-" <[EMAIL PROTECTED]> wrote in message
028901c18b1c$3c0e4d80$[EMAIL PROTECTED]">news:028901c18b1c$3c0e4d80$[EMAIL PROTECTED]...
> I use 1stpage from evrsoft.com .. no
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 General Mailing List (http://www.php.net/)
To unsubscri
I understand what you want to know (I dont know myself though) I dont see
why it should be significantly slower than any other function (unless you're
doing it millions of times in a row!!)
If it doesnt recommend using a different function in the manual, I would
keep using the one you're happiest
You could stop it coming up in the status bar by using javascript
Can PHP read a set of images into a file pointer or array and then echo them
back? See the images thread from 20/12/01 in this newsgroup for how to do
LJ
"Matias Banzas" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]"
Is there a way to set up a php page to act as a name server under windows? I
dont have named etc on that OS.
I was thinking of maybe having PHP read from the port used for DNS services
and recording the MAC address of the machine in a dateabse for example and
linking this to a name i.e. server.my
I've just been sending some from totl.net. I'm not sure how they do it
though and I think they've written the code themselves.
"Brian Tully" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi there :)
>
> i've been asked to implement an electronic postcard ap
try
to see if there's any clues in there
make sure the mysql daemon is running (not sure how to do this)
see if you can connect using the MySQL client (not PHP). If you can then
MySQL is running ok
It sounds like the mysql exetension is damaged of missing. Check its in the
right folder etc and
Thanks all of you. I'm sure one of these will work!!
--
PHP General 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]
It couldnt open ./common_db.inc which you referenced in an include()
function on line 2 of /var/www/html/myphp/ex.php
Its a bit like the PHP version of the 404 not found message. Check the path
for typing mistakes etc. You might like to try using ../../dir1/dir2 instead
of ./
"Caleb Carvalho"
You need to add lines to the httpd.conf file and maybe edit the php.ini
file. On windows, the instructions for doing this are in install.txt which
is found in the directory in which PHP was installed.
If doing this doesnt help (make sure you restart apache!), I'm not sure what
to do as my Linux ex
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
57 matches
Mail list logo