I get the follwing message whrn trying to install tyhe mysql modules
PHP Warning: Unknown(): Unable to load dynamic library
'C:\PHP\php_mssql.dll' - The specified module could not be found. in Unknown
on line 0 PHP Warning:
The path is correct. What could be wrong?
--
PHP Windows Mailing Li
I get the follwing message whrn trying to install tyhe mysql modules
PHP Warning: Unknown(): Unable to load dynamic library
'C:\PHP\php_mssql.dll' - The specified module could not be found. in Unknown
on line 0 PHP Warning:
The path is correct. What could be wrong?
--
PHP Windows Mailing List
Right, for those that were looking to search through word documents, then
may i suggest they look at the source for wvWare found
http://www.wvware.com/ ?
Basically it's an OSS project that turns word docs to HTML files, so I'm
sure anyone that was inclined could figure out how they're doing it an
Try this instead. I couldn't get Devon's to work on my system either, but
this one does. Note the use of the empty() function which tests a string
for emptiness.
Let me know if it works?
Test Form
No data yet, or username is empty.";
}
else
{
echo "Username: " . $username;
}
?>
You could always just do the authentication simply from IIS
Ross
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: 22 February 2002 07:55
To: Christoph Grottolo
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] PHP Authentication
Well, then you simply can't use
em) which might very
well override PHP's timeouts.
These are only hypotheses, but can you humour me and look into them?
I'm a bit confused as to why you're passing the file through twice though?
Also, are these files definately not binary? In which case the fopen
attribute is wrong.
Ross
r, in fact I've personally used something like that for
something similar (writing a remote file to the server)
Let me know?
Ross
-Original Message-
From: Ronny Salomonsen [mailto:[EMAIL PROTECTED]]
Sent: 20 January 2002 09:13
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] "The conn
ion for
it?
Cheers
Ross
and PS, It's not an option to upgrade the servers, they're not mine and
the syssies don't even support version 3, they just make it available.
:(
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Given there wasn't any feedback, I just wrote my own function that works
under PHP3 and does exactly what pathinfo() does. If anyone wants a copy,
email me and I'll send it back. (thought I expect demand to be low!)
Cheers
Ross
-Original Message-
From: rxf [mailto:rxf]On
I hope you're not spamming... ;)
In php.ini:
max_execution_time=30 ; Maximum execution time of each script, in
seconds
Change it to what you need. The speed is pretty much dependent on your SMTP
server though.
Ross
-Original Message-
From: Matt Hillebrand [mailto:[
te or two to send a handful of emails!
I read an article that said you could use your ISP's SMTP server for the
mail() function, but that didn't seem to work.
Matt Hillebrand
Web Developer
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
-Original Message-
From: Ross F
Every heard of anything transferring smoothly in the world of IT?... ;)
It should do though, but I guarantee you'll find something though!
R
>Everything should transfer smoothly since I'm using
>Apache/MySQL/PHP, using
>$DOCUMENT_ROOT and forward slashes everywhere, right?
--
PHP Windows M
all versions of PHP (including 3.x and
4.x), a new version of PHP has been released. Details about the security
issue are available here. All users of PHP are strongly encouraged to either
upgrade to PHP 4.1.2, or install the patch (available for PHP 3.0.18, 4.0.6
and 4.1.0/4.1.1).
Ross
-Origin
The 192.168.0.xxx range are used in Microsofts Internet Connection Sharing
I believe. The host PC (the one with the actual internet connection, modem
whatever) is 192.168.0.1, the rest of the computers on the network are
assigned up from one, so 192.168.0.2 will be the second pc attached to the
n
I think that it may not work if you're using the php module in the CGI mode.
I don't think web servers accept header information in this case?... My
suggestion is to use the refresh tag?
Ross
-Original Message-
From: Ljungan [mailto:[EMAIL PROTECTED]]
Sent: 21 March 200
It is after 6am, I am just going to bed after several friends have left my
flat after copious amounts of vodka consumed. Just thought people might be
interested to hear and share any similar stories! :) OK, bed now, up-time
and hang-over in 4½ hours now. Yha
R
--
PHP Win
ing_var by the space character and returns an array of
all the words that are in $string_var.
$words_var is now an array of strings with a word in each element.
Ross
-Original Message-
From: KONUS [mailto:[EMAIL PROTECTED]]
Sent: 15 March 2002 19:20
To: [EMAIL PROTECTED]
Subject: [PHP-WI
while ($row = mysql_fetch_array($result)) {
$id = $row['id'];
$news = $row['news'];
echo "$news";
?>
Spot the missing closing brace }
-Original Message-
From: Todd WIlliamsen [mailto:[EMAIL PROTECTED]]
Sent: 29 March 2002 18:31
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Parse error when u
net where a security loophole
was found, but it didn't concern windows users I believe. Because the PHP
development is a very much open-source project, any holes are spotted and
repaired much faster than, say, a hole was discovered in IIS.
Can anyone else confirm this with me?
Ross
-Origina
ing
for apache: http://p.webring.com/navcgi?ring=apachesupport;list
Have fun! :)
Ross
-Original Message-
From: Tim Mackenzie [mailto:[EMAIL PROTECTED]]
Sent: 02 April 2002 16:47
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: Security using Apache & Windows
No one can help?! Please,
files on windows.
->http://www.php.net/release_4_1_2_win32.php
->[ this was not a problem for IIS you will be running ]
~ b r y a n
-Original Message-
From: Ross Fleming [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 10:51 AM
To: Eric Gentry; [EMAIL PROTECTED]
Subject: RE: [P
ghing at me in the street and sigh yes I'm drunk again
Ross
-Original Message-
From: LaserJetter [mailto:[EMAIL PROTECTED]]
Sent: 04 April 2002 21:01
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Failed opening for inclusion
I didnt think you can do that. It might work i
RTM, according to the manual, you need the GD extention installed to create
and write to gif's, but you can get info for images without the extention.
also, it says that the gd extention needs to be v1.6 or below to support the
gif functions.
Ross
-Original Message-
From: bene [m
ould be so kind to forward
a working link?
Ross
-Original Message-
From: bene [mailto:[EMAIL PROTECTED]]
Sent: 06 April 2002 15:54
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] imagecreatefrom functions
Fatal error: Call to undefined function: imagecreatefromgif()
this is the error which a
Multiply by 100, take the absolute value and divide by 100 again
-Original Message-
From: Wayne Hinch [mailto:[EMAIL PROTECTED]]
Sent: 08 April 2002 20:36
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Rounding
Hi all,
Is it possible to round to 2 decimal places in PHP without having to
pus
Absolute, round, same thing.. ;) Cheers mate
Ross
-Original Message-
From: Mike Flynn [mailto:[EMAIL PROTECTED]]
Sent: 09 April 2002 00:30
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Rounding
At 09:43 PM 4/8/02 +0100, Ross Fleming wrote
d I'm sure we'll all agree on that! ;D
Ross
-Original Message-
From: Mike Flynn [mailto:[EMAIL PROTECTED]]
Sent: 09 April 2002 18:23
To: Svensson, B.A.T. (HKG)
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Rounding
At 05:49 PM 4/9/02 +0200, Svensson, B.A.T. (HKG) wrote:
>Th
This was posted to the same group ages ago:
if(ereg(
"^[^@ ]+@([a-zA-Z0-9\-]+\.)+([a-zA-Z0-9\-]{2}|net|com|gov|mil|org|edu|int)$"
,$email))
{
//email address is valid
}
else
{
// it ain't
}
Or something like that. I'd personally use a couple of explodes though
Ross
-
For completeness, I thought I'd give the original poster the credit (just
found it): Marko Mihalec <[EMAIL PROTECTED]>
-Original Message-
From: Ross Fleming [mailto:[EMAIL PROTECTED]]
Sent: 10 April 2002 01:33
To: Matt Hillebrand; 'Egil Helland'; 'brother'
characters
Don't forget about the new .name, and I thought I might mention that
preg()/PCREs would be the way to go if you're trying to make your code
readable.
Matt
-----Original Message-
From: Ross Fleming [mailto:[EMAIL PROTECTED]]
For completeness, I thought I'd give th
;;;_Mot3;;;Mot4_Mot5;;Mot6
My solution? Recursively replace ";;" with ";" until the string doesn't get
any shorter. This one works and is pretty neat:
Returns:
Mot1;Mot2;Mot3;Mot4;Mot5;Mot6
as required
Regards
Ross
-Original Message-
From: Nicola Del
Easiest solution I can think of would be to find a copy of the dos
executable, pkzip and use the exec(); command to run that. Otherwise I'm
stumped
Ross
-Original Message-
From: Nicole Amashta [mailto:[EMAIL PROTECTED]]
Sent: 12 April 2002 17:33
To: [EMAIL PROTECTED]
Subject: [PH
so is not suitable
for running under the windows operating system. Your options are (in order
of feasability and ease):
a) install linux
b) decide what functions you need and write them yourself using the standard
PHP libraries
c) install a program called cygwin (linux emulator)
Ross
-Origi
If by "safe" you mean physically safe, then yes, I can confirm that you
will be in no physical danger if you make this assumption, neither the web
server nor the browser will explode if you try this, thereby leaving you
rather safe...
;-)
Ross
Matt Babineau wrote:
> When submitt
It's already installed and enabled, they've told you that. Simply call your
pages .php or .phtml (whatever they tell you to call them) instead of .html
Ross
-Original Message-
From: rob [mailto:[EMAIL PROTECTED]]
Sent: 25 April 2002 02:58
To: [EMAIL PROTECTED]
Subject
n a happier note, what you are probably trying to achieve may be possible.
If you only want to extract data from a winword file, then take a look at
COM which I believe should do that.
Ross
-Original Message-
From: Webmaster [mailto:[EMAIL PROTECTED]]
Sent: 27 April 2002 22:18
To: [EMAI
s doesn't work in win2K, maybe someone on this list may know an
alternative?..
Ross
-Original Message-
From: Rainer Bruch [mailto:[EMAIL PROTECTED]]
Sent: 28 April 2002 23:30
To: [EMAIL PROTECTED]
Subject: AW: [PHP-WIN] Re: executing an external program
hey ross,
thanks for your help b
andle);
sort ($filelist); // alphabetize the files
for ($i=0; $i<$count; $i++) {
$link = urlencode($filelist[$i]);
echo "$filelist[$i]";
}
?>
Ross
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Apparently this doesn't work on win2k though, and replacing the line with
exec("CMD /C START c:\progra~1\winamp\winamp.exe \"$link\" >NUL");
I'm told doesn't seem to work.
If anyone has suggestions, I'm open
R
-Original Message-
From: Ross
00:00 GMT");// Date in the past
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
// always modified
header ("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header (
Make sure
register_globals=On
is set in your php.ini
Ross
-Original Message-
From: Jeff Britts [mailto:[EMAIL PROTECTED]]
Sent: 30 April 2002 21:13
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Cant get PHP to run on Win 98
I just started learning PHP and have looked to solve this issue
Here you go:
$string = substr($string, 0, -4);
Ross
-Original Message-
From: RS Herhuth [mailto:[EMAIL PROTECTED]]
Sent: 04 May 2001 02:06
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Simple string function help needed
List,
This is an easy one but I'm under the gun and need some
No not really, given that a lot of mail servers won't trust a private smtp
server (in case of spamming), I went down that path myself once, and several
institutes will just reject the mail outright.
Ross
-Original Message-
From: Paul Roberts [mailto:[EMAIL PROTECTED]]
Sent: 04 May
e random text
However, since newline characters are of little or not significance in the
land of HTML, I can't see this affecting you, however if they don't mention
these things, people will submit it as a bug.
Hope that helped
Ross
-Original Message-
From: theN [mailto:[EMAIL P
We'll charitably assume your frustration accounts for your rudeness shall
we? To paraphrase "I have a problem that is not related to PHP, yet I will
ask it here anyway, and please, don't waste my time with suggestions, just
give me the damn answer".
Try RTFM or asking politely on an apache forum
Someone answered didn't they? Put quotes round the c:\programer.dll and
all should be well.
Ross
-Original Message-
From: Alex [mailto:[EMAIL PROTECTED]]
Sent: 04 May 2002 22:51
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Apache 2.0.35 w/ PHP 4.12 -HELP
I used - LoadM
s method) and you'd need a time-out on the session
vars (like a timestamp on it) in case the script terminates prematurely and
the flag is never reset.
Have fun, and feel free to ask me to explain anything, it works in my mind
at least!
Ross
-Original Message-
From: Olivier Hubert
ram. It's worth a go.
http://www.w3.org/People/Raggett/tidy/
Ross
-Original Message-
From: Carl Lerche [mailto:[EMAIL PROTECTED]]
Sent: 10 May 2002 05:23
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] XML parsing
Hello,
I have a question regarding XML parsing. Ok, I have an XML file th
Congratulations on discovering the difference between windows and linux
carriage returns. :) There are 2 types of new-line character, \r (carriage
return, ie move the cursor back the the left hand side of the screen) and \n
(new line, strictly interpreted as "move cursor down one line, but not
a
Just to clarify, is the problem getting explorer to save the name properly?...
or is it still the carriage returns?
Isn't it amazing how typewriters are cause problems in todays programming
exercises?... :)
and yes, u can call me Ross :)
R
Henry Grech-Cini wrote:
> B.A.T.Svenss
Thanks for that, if only because I didn't know PHP included the "foreach"
function, useful to know. :)
Ross
>-Original Message-
>From: Michael Reynolds [mailto:[EMAIL PROTECTED]]
>Sent: 31 May 2002 04:36
>To: [EMAIL PROTECTED]
>Subject: Re: [PHP-WIN] Line
he fact that it is calculated
client-side, since a good crypto suite should not be compromised simply by
having the algorithm available. In fact, for a secure connection, at least
some of the work must be done at the client end.
Hope that helps! :)
Cheers
Ross
> -Original Message---
ver I'd be dubious as
to how stable apache2 would be just now, and would personally stick with 1.3
My 2cents
Ross
> -Original Message-
> From: Scott Hurring [mailto:[EMAIL PROTECTED]]
> Sent: 10 June 2002 20:25
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] Re: Apache
Copy of php4ts.dll in c:\windows\system? You don't mention it in your
double triple check.
Ross
> -Original Message-
> From: Jacques Steyn [mailto:[EMAIL PROTECTED]]
> Sent: 15 June 2002 17:30
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: [PHP-WIN] PHP
couldn't be opened).
Ross
> -Original Message-
> From: Christian Leberfinger [mailto:[EMAIL PROTECTED]]
> Sent: 21 June 2002 06:58
> To: Jack; [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] How to Show my Own Error Message Instead of Mysql
> Error?
>
>
> H
All of them AFAIK:
http://www.isi.edu/in-notes/iana/assignments/media-types/media-types
> -Original Message-
> From: Îâ±ó [mailto:[EMAIL PROTECTED]]
> Sent: 21 June 2002 12:58
> To: php
> Subject: [PHP-WIN] what's the MIME type of ".zip" in PHP?I only
> know "image/jpeg" and "text/html".T
Check out the new global_register that phpv4.2 employs, variables cannot be
set in the http request anymore, in order to access texto, you need to
access $_GET[texto]
> -Original Message-
> From: Saci [mailto:[EMAIL PROTECTED]]
> Sent: 23 June 2002 05:56
> To: [EMAIL PROTECTED]
> Subject:
Yes, this guy is the biggest pain in the ass known to man IMO. Anyone know
how to get him unsubscribed to stop it happening?...
Ross
> -Original Message-
> From: Mikey [mailto:[EMAIL PROTECTED]]
> Sent: 24 June 2002 18:43
> To: [EMAIL PROTECTED]
> Subject: FW: [PHP-WIN]
ing.
Any ideas?
Cheers
Ross
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Never mind, after an hour of scouring the manual I found out about sockets
and knocked this up:
http://localhost:8000/listen.pls";);
} else {
echo "Server is down";
}
socket_close ($socket);
?>
-Original Message-
From: Ross Fleming [mailto:[EMAIL PROTECTED]]
Sent: 07
a setting in php.ini I have to
play with? (I've looked but can't find anything)
It seems to work from the command line, but not through a browser.
Config:
Win XP Pro (administator)
Apache 1.3.26
PHP 4.2.1
Ross
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
being able to use COM, for the benefits of testing,
I was logged in as administrator which makes me doubtful that the cause lies
there?...
Would appreciate any other advice you might have.
Cheers
Ross
-Original Message-
From: Scott Hurring [mailto:[EMAIL PROTECTED]]
Sent: 08 July 2002 22:33
y best reading it line at a time
($reading=fread($socket_name, 4096); followed by an echo $reading; until the
end of the file).
Hope that helps!
Ross
-Original Message-
From: Rich Gray [mailto:[EMAIL PROTECTED]]
Sent: 11 July 2002 14:04
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Formless
geniuses out there
helping me :)
Cheers
Ross
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Oops! Obviously, I mean strip alphanumerics and spaces from a string. :D
> -Original Message-
> From: Ross Fleming [mailto:[EMAIL PROTECTED]]
> Sent: 15 July 2002 02:08
> To: PHP Windows mailing list
> Subject: [PHP-WIN] Quick request (ereg?)
>
>
> Hi folks,
You shouldn't need to escape the space (I don't in XP). Examples of how I
use it...
$file_path = "C:\\documents\\ross\\file.mp3";
if (file_exists($file_path)) {
echo "exists";
}
else
{
echo "doesn't exist";
}
Ross
> -Original
It's likely a permissions problem under NT.
> -Original Message-
> From: Jack [mailto:[EMAIL PROTECTED]]
> Sent: 17 July 2002 08:55
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: [PHP-WIN] Problem on file_exists() function
>
>
> Dear all
> I had made a test.txt file which stored
Which variables? I hope you mean $_POST[username] and $_POST[password] ?
If not, read the manual about accessing variables. Otherwise, let us know
Ross
> -Original Message-
> From: Lung [mailto:[EMAIL PROTECTED]]
> Sent: 12 July 2002 16:26
> To: [EMAIL PROTECTED]
> Su
hat I am trying to do actually is maintain
> bank accounts through a secure server. What needs to happen is to allow
> users to access their bank accounts over the Internet, but through a
> card swiping system. Yeah.. NOT SO FUN TO ACCOMPLISH it.. but Thanks
> anyways for your response R
. Are
you trying to secure a website with a card swipe or something?... That
would likely involve the PHP script running at the same time as the card
swipe happening. And having the card swipe attached to the web-server.
More details are really needed.
Ross
> -Original Message-
>
knowledge of the
php functions, there isn't one that can do this automatically for me, which
leaves me (I'd imagine) with using sockets and actually negotiating with the
server directly.
So, anyone done this already? Feasible? Anyone see any problems?
Appreciate the input
Ross
--
P
Thanks a lot, didn't occur to me that the IMAP functions would work with POP
servers.
Appreciate the rapid response :)
Ross
> -Original Message-
> From: Vail, Warren [mailto:[EMAIL PROTECTED]]
> Sent: 08 August 2002 23:33
> To: 'Ross Fleming'; PHP Windows
Note to anyone else who wants to use the imap functions, you need to enable
the relevant extension in php.ini
Damn these sneaky attempts to hinder my progress! ;)
Ross
> -Original Message-
> From: Ross Fleming [mailto:[EMAIL PROTECTED]]
> Sent: 08 August 2002 23:38
> To:
ly you just get php
to execute these same queries, meaning there is no new learning to be done)
Good luck :)
Ross
> -Original Message-
> From: Steve Jackson [mailto:[EMAIL PROTECTED]]
> Sent: 11 August 2002 22:35
> To: Php-Windows
> Subject: [PHP-WIN] Newbie needs help.
>
See
http://www.php.net/manual/en/function.mktime.php
to make unix time stamps from the date/times. It's an integer denoting the
number of seconds that have passed since the Unix Epoch (1/1/1970 0:00).
The greatest integer is the later date/time
Ross
> -Original Message-
> Fr
Yes you can. Check you're getting a valid email address in the variable
$retrieveuseremail, try echoing it before the mail() function:
echo $retrieveuseremail;
mail($retrieveuseremail, "Subject", "Body of email");
Ross
> -Original Message-
> From: Mar
It may sound rather obvious, but don't send any header information :) The
error you are getting means that you have echoed or printed something to the
output, and have already started generating the HTML page. Don't do this.
Jump into the php code straight away (no introductory HTML code) and te
Ross
PS Just as an added bonus tip: Don't store an age in a database. I'm 21
now, but won't be in a month. Store a dob and calculate it from that
> -Original Message-
> From: James Meers [mailto:[EMAIL PROTECTED]]
> Sent: 20 August 2002 13:32
> To:
e of the window
using javascript or whatever.
Ross
> -Original Message-
> From: Afan Pasalic [mailto:[EMAIL PROTECTED]]
> Sent: 20 August 2002 18:00
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] resolution?
>
>
> Hi,
> how an I find resolution on visitors monitor
The definitive point is... you can't do it in php.
exit(1);
Ross
> -Original Message-
> From: Afan Pasalic [mailto:[EMAIL PROTECTED]]
> Sent: 20 August 2002 18:36
> To: Svensson, B.A.T. (HKG); Php Win32 list
> Subject: Re: [PHP-WIN] resolution?
>
>
> Y
That's not the question that was asked however. He asked whether you could
show an image dependant on what the resolution was, ie without user
intervention (removing the need for the user to scroll through the various
images or make a selection at all)
I stand by my answer.
eally going to come from you however. That's more a case of programming
defensively (which imo should be done as a matter of course these days)
Have fun
Ross
> -Original Message-
> From: R.S. Herhuth [mailto:[EMAIL PROTECTED]]
> Sent: 20 August 2002 20:57
> To: [EMAI
able $_POST['delete']
will now contain "Delete Selected", but it is only necessary to test that
this variable is set and not empty. ie
Ross
> -Original Message-
> From: Kit Kerbel [mailto:[EMAIL PROTECTED]]
> Sent: 21 August 2002 15:41
> To: [EMAIL PROTECTE
s explorer
telling you that it expected an xml doc but didn't receive one
Ross
> -Original Message-
> From: Baz Langton [mailto:[EMAIL PROTECTED]]
> Sent: 21 August 2002 16:13
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Newbie: Setting content type
>
>
> How do
Logic dictates that the entire network isn't down, since this mail is
getting through ;) however the website does appear to be down.
Ross
> -Original Message-
> From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]]
> Sent: 21 August 2002 17:37
> To: Php Win32 list
&g
Because that's not an xml document. By defining content-type: text/xml, you
are telling any webbrowser to expect an xml document, and then not
delivering one.
The sample code you've sent doesn't generate any output whatsoever, try it
from the command line and see.
Ross
> ---
subset of
php.net. Since we know that lists.php.net works, we can say that php.net is
not broken. However we can say that www.php.net IS broken. :D
However, it is never safe to assume, since when we do so, we make an "ass"
out of "u" and "me" ;)
Cheers
R
Cheeky gits. Especially the cowardly person who had to be censored... ;)
Ross
> -Original Message-
> From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]]
> Sent: 21 August 2002 18:08
> To: Php Win32 list
> Cc: Ross Fleming
> Subject: RE: [PHP-WIN] php.net down?
http://www.php.net/manual/en/function.array-key-exists.php
The manual is a wonderous thing... ;)
Ross
PS It may interest you to know, placing an @ sign at the start of functions
or declarations ignores any errors you might get
> -Original Message-
> From: R.S. Herhuth [mailto:
isset won't work if the array value is set to NULL...
> -Original Message-
> From: Steel [mailto:[EMAIL PROTECTED]]
> Sent: 22 August 2002 13:58
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] finding out if a key exists in an associative
> array
>
>
> Hi R.S.,
>
> Thursday, August 22
You haven't really told us the bug... Tell us the output and it would also
be handy if you could provide an example of code which causes the error.
Ross
> -Original Message-
> From: arch [mailto:[EMAIL PROTECTED]]
> Sent: 25 August 2002 13:34
> To: [EMAIL PROTECTED]
&g
}) check before assigning them however, in case
you only get $myvar1, $myvar3, $myvar4 etc. Always program defensively, it
saves hassle in the long run.
Hope that helps
Ross
> -Original Message-
> From: crizz [mailto:[EMAIL PROTECTED]]
> Sent: 25 August 2002 17:21
> To: [E
.
What are you trying to achieve? There may be another option if u tell us
what you're accessing it for :)
Ross
> -Original Message-
> From: Kevin Fonner [mailto:[EMAIL PROTECTED]]
> Sent: 25 August 2002 19:34
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] accessing the
while(!feof($fp) && $fp) {
echo fread($fp, 4096);
}
@fclose($fp);
?>
HTH
Ross
> -Original Message-
> From: Rudolf Staribacher [mailto:[EMAIL PROTECTED]]
> Sent: 26 August 2002 22:16
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] include() and file() on remote file
url encode it? At a guess that is, I haven't tried it. the funtion is
either urlencode($myrow[copy]) or url_encode($myrow[copy]) not sure which.
> -Original Message-
> From: Afan Pasalic [mailto:[EMAIL PROTECTED]]
> Sent: 27 August 2002 22:20
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN]
e you're up the proverbial creek
Ross
> -Original Message-
> From: Peter [mailto:[EMAIL PROTECTED]]
> Sent: 28 August 2002 12:57
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] mail() I get crazy from this...
>
>
> Hello,
> I repeat: my PHP mail() function does not
n relay one, however, good mail servers have
black-lists of smtp servers that are "open" and so refuse connections from
them. It's a fight against spam really
Ross
> -Original Message-
> From: Peter [mailto:[EMAIL PROTECTED]]
> Sent: 28 August 2002 13:51
> To:
Questions I can think of are:
(.) How do I get mail() to work?
(.) I have a script that doesn't print out the variables I POST to it...
(.) I have an error saying "Headers already sent", what does that mean?
What does everyone think?
Cheers
Ross
--
PHP Windows Mailing List (http:
I posted this not 24 hours ago that does this
-Original Message-
From: Ross Fleming [mailto:[EMAIL PROTECTED]]
Sent: 27 August 2002 11:19
To: Rudolf Staribacher; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] include() and file() on remote files
So far as I know, Linux etc does not have any
Hello,
I've used php before, but have only just installed it on my win98 machine at
home with apache for the first time. Does anyone have ANY idea why I get
"Call to undefined function: getallheaders()" ?
Is there a certain extension I should be loading?
Appreciate any hel
1 - 100 of 231 matches
Mail list logo