I put together this simple script but seem to be having problems with it.
All the script does is ping an IP addy and then replies back if it is up or
down. The problem is with the fsockopen command. It seems if the IP is up it
works fine, only when the IP is offline does it hang at that point in t
I am looking for a php script that will allow me to input user name and then
let me send them a page once I click on their name and type a short text
message. If anyone can lead me in the right direction, I thank you.
Thanks
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-
Is there a way to launch an .exe app using PHP. Example; Have a user click a
link to notepad and have it launch the user's notepad.exe for them?
Thanks!
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
I have the same code on 2 systems, NT4 Server with IIS 4 and XP IIS 5.1 the
cookies work ok on IIS 5.1 and not IIS 4.
It's the same PHP.INI file on both systems and the same version of PHP.
Does and know how to fix it?
Kevin
--
PHP Windows Mailing List (http://www.php.net/)
To unsubs
I have the same code on 2 systems, NT4 Server with IIS 4 and XP IIS 5.1 the
cookies work ok on IIS 5.1 and not IIS 4.
It's the same PHP.INI file on both systems and the same version of PHP.
Does and know how to fix it?
Kevin
CONFIG.PHP
INDEX.PHP
--
PHP Windows Mailing List
I have setup a php page to use mysql and PHP's session handling. The logon
page displays just fine but when I try and log into the page IE give me the
page can not be displayed. I have the session.save_handler set to files and
the session save path set to C:\tmp. Any ideas what I am doing wrong?
Yes it does. Now only because the script is using mysql to store the session
info does it not work.
"Rahman Haqparast" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Does your C:\tmp exist?
>
> "Kevin" <[EMAIL PROTECTED]> wrote in message
Anyone know why class static vars are inherited? (See code below)
class A
{
public static $CONFIG = null;
}
A::$CONFIG = "A";
class B extends A
{
public static $CONFIG = null;
}
B::$CONFIG = "B";
print ("A: " . A::$CONFIG . "");
print ("B: " . B::$CONFIG . "");
--
PHP Windows Mailing
-- memory dump -- computer restarted).
After trying this several times with the same result I tried to call another
page with a simple print() statement which comes up with no problem on
either machine.
Any suggestions would be greatly appreciated.
Thanks -- Kevin
--
PHP Windows Mailing List
ure,
read bug, it is and how to work around it)
Thanks -- Kevin
"Matt Parlane" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi Kevin...
>
> I had the same problem a while back, and I came to the conclusion that PHP
> on w
Thanks Clay...I'll try that when I get to work tommorrow
Kevin
"Clay Culver" <[EMAIL PROTECTED]> wrote in message
000601c20141$a5f2a5c0$1602a8c0@dark">news:000601c20141$a5f2a5c0$1602a8c0@dark...
> I have gotten PHP 4.2 to work well under Win2k Server, but I do no
/auctionoutput.php?jpegifimage=1997n1998teds.
jpeg&createAuctionPage=Create
Notice: Undefined variable: jpegifimage in
c:\apache\htdocs\www.lemonlaineydesign.com\www\ebay\auctionoutput.php on
line 2
CODE:
This was working perfectly with 4.1.1 until I upgraded... any ideas?
Regards,
Kevin S
ks in the
current version unders Windows.
-Kevin
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Anybody know what a good way to access the windows registry with PHP?
Thanks,
Kevin
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e it would be possible through COM. I have
already tried out the php and COM combo and it seems to work alright.
Haven't done that before though and I just wanted to see if anyone has
come up with a simple way to do it. Any comments and ideas are appreciated.
Thanks,
Kevin
Ross Flemi
version have this
already compiled into it with the Binary installer or zip package?
Regards,
Kevin Smith
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi Kata,
Hmmm are you still defining $a=123 and then on the next defining $a =
adadada, if so, then the syntax for $a should be :
$a = "adadada";
for text
and
$a = 123;
for numbers
Regards,
Kevin
- Original Message -
From: "kata" <[EMAIL PROTECTED]>
To
Hi, I'm running PHP4 on Win2k/IIS5. And my app uses
sessions/cookies.
Does anyone know how to put the php session id in the IIS
logfile?
thanks
-Kevin
__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
error code? Here's the connect I'm using (username and password
changed of course):
$cid = odbc_connect("help_database", "username", "password",
"SQL_CUR_USE_ODBC");
Any ideas? Thanks for any help.
Kevin Sayre
--
PHP Windows Mailing List (http:/
password");
and I looked up that error code, and it claims that the 0 is a success
error code, so what's with that? Anyone else had this problem? I'm running
this on an IIS server also.
Thanks,
Kevin Sayre
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe,
one please help me to get each hosted web to show it's own root
directory ?
Thanks,
Kevin.
--
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]
eports the document_root of the first.
Can someone please help me to get each hosted web to show it's own root
directory ?
Thanks,
Kevin.
--
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To c
es on the local drive and PHP worked!
CONCLUSION
I appears as though PHP is able to support locating files on a different
computer and a shared directory. I had initially thought that just using
virutal directories was a problem for PHP, but this is not the case.
I hope this pro
,
Kevin Costain
===
KCTS: http://www.kevincostain.com
416-463-6655
===
--
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
y spits out the code. What'd
I miss? Thanks.
Kevin Sayre
[EMAIL PROTECTED]
--
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]
y spits out the code. What'd
I miss? Thanks.
Kevin Sayre
[EMAIL PROTECTED]
--
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]
side, anyone knows how to fix this problem? I am trying to solve
this problem myself, but no luck at the moment. I'll post back if I find a
solution.
Kevin
"Mark" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Tue, 25 Sep 2001 23:3
Just dump the database on your local MySQL server onto a file. Since you
already have the phpmyadmin setup at the remote location, you could just
import your dumped database to the remote MySQL server. Hope that helps.
-Kevin
"Tome" <[EMAIL PROTECTED]> wrote in message
[EMAIL
DDRESS_ID_".$numb."'];");
Any ideas?
Thanks,
Kevin
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
,
Kevin
--
Kevin Bachelder
Microsoft Certified Systems Engineer - Windows NT 4.0 (MCSE)
Microsoft Certified Professional - Windows 2000 (MCP)
Citrix Certified Administrator (CCA)
CompTIA A+ Certified Computer Repair Technician (A+)
--
PHP Windows Mailing List (http://www.php.net
no workie ";
}
?>
resulting output:
Warning: java.lang.ClassNotFoundException: java.io.file in
c:\apache\htdocs\ktest\xzerror.php on line 1
Fatal error: Call to a member function on a non-object in
c:\apache\htdocs\ktest\xzerror.php on line 2
anything obvious i am missing?
--
Kevin
hehehe that worked thank you!
amazing what correct syntax can do!
Danke!
"Daniel Beulshausen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
At 07:25 17.06.2003 -0400, Kevin Ison wrote:
>Im trying to make calls to java classes and I keep getting class not fou
danke Daniel...
apparently multiple paths need to be encapsulated with quote marks.
something i did not do.
"Daniel Beulshausen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
At 16:00 18.06.2003 -0400, you wrote:
>I ment to tell you that worked.
>
>however if i did this:
>$myClass
I'm trying to convert an ASP site to PHP, and my problem is this:
I've set up the the DSN on my machine to utilize the built-in odbc functions
as I would any Access DB. Because this is a "secure" db, i'm supposed to
reference the MDW file as opposed to the MDB... Well I can't seem to get it
to wo
strangely enough, im getting a similar problem.. the ldap module nor the
mssql module work when uncommented in php.ini. All the other uncommented
extensions load no problem. The dll's are definately in my extensions dir.
weird eh?
"Alain Samoun" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROT
I thought i'd share with those of you unfamiliar with one of the cool things
about developing php on win32 systems..
http://www.phpbuilder.net/columns/alain20001003.php3
This is a good article, but i don't think the author hit the nail on the
head showing how useful this can be.
Now, checkout t
I need to install the php_mhash.dll extension to use with Authroize.net on
my windows 2000 server. I edited the php.ini file by adding the correct
directory and removing the ; before php_mhash.dll. I then copied the
libmhash.dll file that is needed to the C:\Winnt\system32\ folder.
I ran the test
I have installed Apache 2.o.44 on Windows XP home edition and have installed
PHP
4.3.0 . When I try and view a php script in my browser (I.E 6) all I get is
a blank screen, if I view source I can see the code, I have tried
but still come up with a blank screen.I have re-named the php.ini-dist file
I http://localhost !
"Kgx" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi. Sorry if this may sound silly but do you double click to open the php
> file or do you http://localhost?
>
> :)
>
>
> "Kevin & Cindy" <[EMAIL PROTE
Hi all,
Well it is now 12:08 past midnight and I have been at this since 7pm.
Basically my problem is this:
I currently have a Win2003 server, running IIS6 serviced packed up etc. I
have tried following the installation notes from PHPbuddy.net
(http://www.phpbuddy.com/category.php?cat_i
e two package files
into PHP folder, and then ran the installer, bingo it works without a
problem.
How I have not got a clue!! But it does.
Kev
-Original Message-
From: Nadim Attari [mailto:[EMAIL PROTECTED]
Sent: 10 September 2004 07:59
To: Kevin Crookes
Subject: RE: [PHP-WIN] Re: PHP
defined. As a matter of fact,
phpinfo() show none of the ORIG_ variables are defined. Is there a
php.ini configuration option which might affect this, or is this a
function of mod_php vs. CGI execution?
Kevin
(newbie - be gentle) ;)
--
PHP Windows Mailing List (http://www.php.net/)
To unsu
PHPDiscuss - PHP Newsgroups and mailing lists wrote:
I set my extension folder to 'D:\Service\PHP\ext' and the php_mysql.dll is
in the ext folder. I was getting an error saying "The specified module
could not be found." But after I copied the libmySQL.dll to the system32
folder, I got this error, "
Perhaps the "extension_dir" ini setting is not set properly?
Felipe Gasper wrote:
Did you check Event Viewer? Set error reporting to E_ALL? Put your PHP
directory in PATH?
It looks like IIS is *trying* to load PHP, based on the error that the
link gives.
-Felipe Gasper
Quoth zac korpi on 10/8/2
$time = filectime($filename);
...
Any ideas why? The user that the webserver runs as, has full permissions
to the "news" directory, and all the files in it.
Kevin Glick
ITS Manager
Sterling Business Forms
[EMAIL PROTECTED]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
line, if
the HTML code is wrapped onto two lines, then you have a problem.
Obviously, there are workarounds, but for now try the above.
You may also want to look at preg_ as this is a more efficient mehtod of
regexp's.
Regards,
Kevin Smith
Luis Moreira wrote:
Hi
I, for one, have never don
Perhaps posting you code will help us resolve your problem.
JC Botha wrote:
Dear Users
I'm havin a problem to connect to MySQL through the use of PHP5. I
followed all documentation and none seem to resolve the problem. I'm
running WinXP on the computer that I use to develop the apps. Any
advice out
Hey, I have VS so if you want to give me the instructions on
compilation, I'd be happy to do it for you.
Regards,
Kevin
Jason Barnett wrote:
In which case you might be out of luck... I've tried building from
source with cygwin / gcc, but every binary that I've tried bui
the parameter as this:
$PMdb->InParameter($SQL, $ActualDate, "@Today");
Regards,
Kevin Smith
Mark Rees wrote:
The type problem in not in PHP but in SQL Server. The sp expects an input
parameter of type datetime, and it isn't getting one.
http://www.php.net/functi
This should take care of all your needs. Open Source too. ;)
http://www.fckeditor.net/
Regards,
Kevin
kaizer boab wrote:
I am building a news system and in the edit news page I would like to have a
formatting toolbar for making text bold, italic or create an ordered or
unordered list.
At
Submit you're code to the list and let's see if we can help you.
JC Botha wrote:
Dear Rosty
Thanks for your input, but it does not change the situation at all! :(
Please let me know if there is something else that you think about.
Greetings
JC
-Original Message-
From: Rosty Kere
I think this will solve your problems, here is real working code.
class ENCRYPTION
{
var $KEY = "NEED_A_DECENT_KEY";
//Encrypt Function
function encrypt($string)
{
$iv = mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256,
MCRYPT_MODE_ECB), MCRYPT_RAND);
$passcrypt
I believe what you're looking for is:
$_SERVER["REMOTE_USER"]
However, it'll only work if the client is authenticated - if you allow
anonymous access to the web site, the client will not be authenticated, so
there's no Windows username to get (you can check the logs to find out).
The details var
If the query only ever returns 1 row then like this:
$sql = "SELECT caa44340041, caa442400042 FROM caa44340, caa44240 WHERE
caa443400018 = caa442400018;
$result = ifx_query($sql, $connect_id) or die ("couldn't execute the
query");
$row = fetch_assoc_array($result);
$first_name = $row['caa4434
I have php 5.2 up and running on IIS 5.1.
phpinfo tells me php is looking for my ini file in C:\Windows...I place
the file there, edit it, restart the server but I don't see the changes
I've made.
I've been dealing with this for a day and can't seem to find any
information as to what's causi
okay...turns out there was something strange going on with my ini file.
I copied its contents into a new file, saved that as "php.ini"...now
whenever I drop that in either C:\Windows or C:\PHP php will not
execute. If I move the file out of either of those two directories, it
executes fine.
D
Thanks for the suggestion...I tried that...i didn't make a difference.
Here's another thing I noticed. PHP seems to be using the default
settings. When I drop a php.ini file in C:\Windows (where php is looking
for my ini file) php fails execute. If I remove the ini file...the code
executes fin
I can't let this go...I can't get anything else done until I can figure
this out...I'm pretty sure this will ultimately lead to my demise.
Okay, so I installed apache thinking it'd be good to test this problem
with another server. I'm having the same problem with apache. If I have
my ini file
dropping it in C:\windows\system32 yields the same results as C:\windows.
It seems I can place the ini file in any directory other than the
directory where php is installed.
Daniel Kaliel wrote:
What happens if you put it in c:\Windows\system32
-Original Message-
From: Kevin
same problem that I can't edit my ini file and
have the changes take affect.
I apologize for all the posts.
Kevin Ruiz wrote:
dropping it in C:\windows\system32 yields the same results as C:\windows.
It seems I can place the ini file in any directory other than the
directory where p
Finally...i guess my ini must have been corrupt. I tried using the
contents from the ini-dist file (I was using the ini-recommended) and
everything works.
Thanks for all the help.
Kevin Ruiz wrote:
I think the issue with php failing to execute may have been a result of
my having C:\PHP in
viously being an image.
It's good practice to put these headers in anyway.
Hope this helps.
Regards,
Kevin Smith
Bill Bolte wrote:
Update, I have it working in IE7 but not IE6. I can view it in both
IE6-7, but it only prints in IE7. here's what I'm doing...
';
?>
fe
Am I doing the filesize
correctly?
-Original Message-
From: Kevin Smith [mailto:[EMAIL PROTECTED]
Sent: Monday, March 05, 2007 4:40 PM
To: Bill Bolte
Cc: php-windows@lists.php.net
Subject: Re: [PHP-WIN] base64 encoded images and printing
Hi Bill,
This is what I've used for the
ind a login, so I can't give you a url at the moment. I'll
check on the filesize and see what I'm getting...
----
*From:* Kevin Smith [mailto:[EMAIL PROTECTED]
*Sent:* Tuesday, March 06, 2007 9:23 AM
*To:* Bill Bol
Here's a very simple one I just knocked out in a few seconds:
Mikael Grön wrote:
Hey all!
I'm in panic! I need a regex that returns true on strings containing
both 'update' and 'where 1 = 1'. Both must be case insensitive and
there might be spaces between the 1's and the '=', and there migh
A little more precise to what you asked for:
Mikael Grön wrote:
Hey all!
I'm in panic! I need a regex that returns true on strings containing
both 'update' and 'where 1 = 1'. Both must be case insensitive and
there might be spaces between the 1's and the '=', and there might not..
Some nitw
// The argument to the location.reload function determines
// if the browser should retrieve the document from the
// web-server. In this example all we need to do is cause
// the JavaScript block in the document body to be
// re-evaluated. If we needed to pull the document from
// the web
I'll go with Bill's suggestion. Just track whether the page has already
been loaded.
Bill Bolte wrote:
Can we ask why you need a reload every time? Maybe there's a better
approach?
But, if you need to reload the first time someone hit's a page, add a
querystring value to the url and track it.
The this instead. BTW, you misunderstood the useage of substr, see
http://uk.php.net/manual/en/function.substr.php.
$code = 'abcdwxyz8765';
$string = array();
array_push($string,substr($code,0,4));
array_push($string, substr($code,4,4));
array_push($string, substr($code,8,4));
echo $string[0].'-
Try telnet'ing on port 3306, which is the default port that MySQL runs on.
Abhisek Dutta wrote:
I am an extreme n00b here in PHP. just started learning PHP. Can't
start MySQL. The command-prompt says:
/Can't connect to MySQL server on 'localhost./
'telnet localhost 10061' gives:
/Connecting to
Hi.
I unpacked the .gz / .tar file and followed the instructions, but in the
installation guide they talked about php.exe and som other exe's, but i
couldent find them!!
Please mail me: [EMAIL PROTECTED]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTE
71 matches
Mail list logo