Hello,
This is a workaround. Can you use T-SQL's: SET ROWCOUNT ?
This limits the number of rows returned by a query.
-- John
""Brinkman, Theodore"" <[EMAIL PROTECTED]> wrote in
message FE8510398BFE854F9653B5C32DBB652FD4F39E@oh_daytn_xch01">news:FE8510398BFE854F9653B5C32DBB652FD4F39E@oh_daytn_x
Umm I'm sort of new to this whole PHP thing but isn't the only nice
thing about running the windows version that you don't have to recompile
to add an extension? I think you can just uncomment it in your php.ini
file... I'm sure I'll be corrected if I'm wrong.
andrew
-Original Message-
F
why don't you see for yourself? ;)
I think common questions like these warrant a search through the archives
first since they have been asked many times before.
go here first, you'll find a lot of answers about common topics such as
'hosts'.
http://marc.theaimsgroup.com/?l=php-general
::-O
On 16 May 2001 19:56:52 -0700, Ruslan Ohitin <[EMAIL PROTECTED]> wrote:
> hello all!
>
> I try to convert ip address (aaa.bbb.ccc.ddd)
> to IPv4 integer using ip2long().
>
> ip2long("200.200.200.12") = 3368601612
> but it must be -926365684.
That's the same value - the first time is treating it
Contact [EMAIL PROTECTED]
Warm Regards,
Deependra B. Tandukar
www.coremag.net/cvs/dt.htm
Training and Networking Assistant
ICOD/ICIMOD
www.icimod.org
Co-ordinator
CORExpress
The Only Native Computer Magazine of Nepal
www.coremag.net
+++
==
I have a small script which opens an image file (gif/jpeg) and converts
it to binary format.
My problem is that the script runs perfectly well in my local machine.
But when I upload it to the server and try to parse the same image file
on the server, it is truncated in between only.. I do not
I created several rpc tcp servers in perl. The pearl clients work fine, and
sending a message to the server in php works. The problem happens after the perl
server replies ( I have seen the actual reply through monitoring the server ). The
php script hangs on freads and fgets. I tur
hello all!
I try to convert ip address (aaa.bbb.ccc.ddd)
to IPv4 integer using ip2long().
ip2long("200.200.200.12") = 3368601612
but it must be -926365684.
Is it a bug?
I use php 4.0.6-dev from php4win.de
---
ruslan
[EMAIL PROTECTED]
--
PHP Windows Mailing List (http://www.php.net/)
To un
Hit your start button
Click RUN
Type cmd < click ok > (wait for the black command-prompt to appear)
Type C: (assuming MySQL is install on C:) (hit-enter)
type cd\mysql\bin (assuming MYSQL is installed in mysql) (hit-enter)
Type mysqladmin create nuke (hit-enter)(assuming you don't have th
where to i put nuke.sql?
-Original Message-
From: Zak Greant [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 9:27 PM
To: Manesh Manickam; [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] My SQL
Open a Command Prompt
CD into your mysql bin directory (often c:\mysql\bin\)
Run the command
Hello everyone,
PHP just stopped being able to connect to mysql. mysqld-nt is running, and
is running alright becuase I can connect, select databases, and execute sql
queries through the mysql client. However, when I try to establish a
connection through PHP, the connection never gets made. Th
Open a Command Prompt
CD into your mysql bin directory (often c:\mysql\bin\)
Run the command
Ciao,
Zak
- Original Message -
From: "Manesh Manickam" <[EMAIL PROTECTED]>
To: "Zak Greant" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, May 16, 2001 7:25 PM
Subject: RE: [PHP-WI
where do i do this, i am win2k
-Original Message-
From: Zak Greant [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 6:17 PM
To: Manesh Manickam; [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] My SQL
Manesh,
Don't be surprised that people are less than helpful when you sent a huge
(34
On Wed, 16 May 2001 18:20:09 -0400, you wrote:
>my one book tells me to save a php file I have created to "document root
>directory for your web server" as generic filename.php
>
>I cannot figure out where that file should go so I may call it with IE
>browser
If you installed apache to it's def
I clicked on the send button to fast...
The part that i'm having problem with is the second part. Especially the one
about the first string becomming a link to the corresponding URL.
""Alain Menard"" <[EMAIL PROTECTED]> wrote in message
9dv3k5$873$[EMAIL PROTECTED]">news:9dv3k5$873$[EMAIL PROTE
Hi!!
I'm presently working on my personal web site and i would like to use PHP to
do the following :
1- Read a string in the following format from a text file :
string;url;integer;string
string;url;integer;string
string;url;integer;string
...
string;url;intege
away from home for a week; only one book
have successfully installed php, apache server and mysql on a windows me
system on a dell 7500 inspiron
my purpose is to learn php;
my one book tells me to save a php file I have created to "document root
directory for your web server" as generic filena
Manesh,
Don't be surprised that people are less than helpful when you sent a huge
(34k) message to the list! :)
The command you need is this:
mysql db_name < nuke.sql
Change the db_name to whatever database you want the tables to appear in.
All of this info is in the MySQL docs.
--zak
--
COME ONE!! PLEASE
-Original Message-
From: Manesh Manickam [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 4:39 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] My SQL
How do i add these table, the file is called nuke.sql
when i run it, it just shows as text. i use IIS5
CRE
Thanks a lot Eric.
I am running PHP+Informix perfectly now thanks to you.
I downloaded the latest informix client-SDK and it has the dll that PHP was looking
for.
it runs fast and smooth.
I owe you one.
bye,
CJ
p.s. I hope this helps someone else out there too.
On Wed, 16 May 2001, [EMAIL P
Don'f forget to check for multiple copies of the included files somewhere
near the base files. Even IIS doesn't cache through a stop/start cycle or
reboot.
Regards.
""Phillip Bow"" <[EMAIL PROTECTED]> wrote in message
9c4ap9$ikm$[EMAIL PROTECTED]">news:9c4ap9$ikm$[EMAIL PROTECTED]...
> I'd hav
Try registering the variables in the checkuser.php script also.
Regards
""Roman Lichszteld"" <[EMAIL PROTECTED]> wrote in message
9c8hd2$nfn$[EMAIL PROTECTED]">news:9c8hd2$nfn$[EMAIL PROTECTED]...
> > I haven't worked with trans_sid much, so I'm not very familiar with the
> > specifics.
> >
> >
How do i add these table, the file is called nuke.sql
when i run it, it just shows as text. i use IIS5
CREATE TABLE access (
access_id int(10) NOT NULL auto_increment,
access_title varchar(20),
PRIMARY KEY (access_id)
);
#
# Dumping data for table 'access'
#
INSERT INTO access VALUES
Use the ibase_blob_create, ibase_blob_add and ibase_blob_close functions to
get the image into a blob field and INSERT it using a "?" place holder
passing the blob id from ibase_blob_close in the ibase_execute function.
""Il Cieco"" <[EMAIL PROTECTED]> wrote in message
9c221i$9mm$[EMAIL PROTECTE
I wonder what else they "hardcoded" in IE?
Regards
""Kelvin Luck"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Thanks for the tip - it should be no problem to return 2.5Kb - I probably
> will be anyway, but to test it I was just returning a small string..
Ya got me on that one. Hmmm... Does anyone know if there is a newer php
.dll for informix out there?
One thought would be to see if you can find an older client with the dll and
put that in your path (maybe the ..\php\extensions dir) just so that it is
happy. It may be the last piece you
are they all free?
-Original Message-
From: afan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 12:39 PM
To: [EMAIL PROTECTED]; Manesh Manickam
Subject: Re: [PHP-WIN] Web Host
I use http://www.cqhost.com and http://www.1stconnection.net and I don't
have any problems.
Afan Pas
Are you running as a CGI or ISAPI? ISAPI can be a bit buggy. If ISAPI,
make sure that the PHP install folder is in the SYSTEM path. I could not
use the ISAPI method until this was done as the filter would not load.
Otherwise, I guess it's just FUBAR!
""macky"" <[EMAIL PROTECTED]> wrote in mes
Does anybody have an example of using php error handling to simulate
try-catch blocks? especially with COM objects?
:wq
Tim Uckun
Due Diligence Inc. http://www.diligence.com/Americas Background
Investigation Expert.
If your company isn't doing background checks, maybe you haven't conside
Couple tid bits of info will help.
Is the file in a defined format?
Are the emails just random within the text?
If random you'll want to use preg_match_all
You'll have to develop the exact expression to find the emails address.
If the file is formatted just figure out the pattern and grab parti
thanks a lot.
your solution seems to work! I did look inside the DLL and found out about the
referenced DLLs.
but I still have a problem.
I looks like I have an old version of the informix dll ...(7 something) and it
requires 9a. that is, it requires the file isqlt09a.dll from the informix cli
Hi all,
there is my problem: I have a large text file with a lot of email addresses included
in text. I have to extract just email addresses from a whole text.
What's the way to do that?
Thanks for any help!
Afan
You still need the php_interbase.dll (client side) uncommented from the
php.ini file in the %SYSTEMROOT% folder. It should look something like
this:
...
extension_dir = D:\PHP\Extensions
...
extension=php_interbase.dll
...
The extension_dir is where the dlls are located.
Regards!
""Daniel Sich
What I have found to be the same result with all extensions is an email
thread that referred to looking inside the .dll to determine all the other
.dll's it references and trying to get them. Additionally making sure the
php base directory and the extensions directory are in the system path of
>Why does the command:
>
>UPDATE SEARCH_RECORDS SET DESCRIPTION="Chris's Page"
>
>fail?
Probably because you have quoted identifiers turned on, turn it off, and it
will probably work for you.
If you are using MS SQL server add the following statement to your SQL batch
to turn off quoted identif
At 01:01 PM 5/16/01 -0400, [EMAIL PROTECTED] wrote:
>Why does the command:
>
>UPDATE SEARCH_RECORDS SET DESCRIPTION="Chris's Page"
>
>fail?
You might check that -- I think this will work:
UPDATE SEARCH_RECORDS SET DESCRIPTION='Chris''s Page'
Bradley Miller, Programmer/webmaster
AccessZone De
Has anyone used fatcow hosting? www.fatcow.com? Their package is pretty
attractive...anyone have any dealings?
Thanks,
Rick
--
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 adminis
All -
I am trying to execute an odbc_exec ($sql) command. A code example
is shown below:
$description = "Chris's Place";
$sql = "UPDATE SEARCH_RECORDS SET DESCRIPTION=\"".$description."\"";
// CX is already defined as a datbase connection
$stmt = odbc_prepare(CX, $sql);
if (odbc_execute($stmt
I'm not familiar with the IIS setup but we'll try a few things. Where
did you install PHP? You say you are using IIS is IIS running? My PHP
scripts don't run if I don't have apache running. (I have apache set up
to be manually started so I can control if anyone is going to hit
against my PC)
L
Some tips!
Installation
Unlike PHP 3, PHP 4 is divided into several components; Even when you use
PHP in its CGI mode, php.exe is no longer a standalone executable, and
relies
on external DLLs for execution. For this reason, if you install php.exe as
a handler for your web server,
Yessbell Carranza,
Your script is fine!...Maybe there is something wrong with your
instalation of PHP. Which version are you using?
I use Apache here, and eveything is fine. Well, about proving the existence
of PHP, maybe your scripting, working, is a good prove! hehehe!...
I hope I could he
Your code is fine and works ok.
Afan
- Original Message -
From: "Yessbell Carranza" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 16, 2001 9:17 AM
Subject: [PHP-WIN] Can everyone help me?, pease...
> I´m new on PHP, I´ve been trying to make an easy program:
>
>
>
I´m new on PHP, I´ve been trying to make an easy program:
My first Script on PHP
When I try to run the program from the Internet explorer, it doesn´t show
"Hello World", just display "My first script on PHP". I belive that PHP is
not
Query,
I was told by one of our sys admins that with PHP when/if want to add a
module to our PHP setup on a UNIX machine that PHP needs to be
recompiled with the new module (no big deal but a maintenance hassle)
How would I add a module on my W32 system?
I'm running an apache server with PHP &
I'm working on an application for work where users will be querying the
database to get information back about processed documents. I'm trying to
set up a way for a user to cancel a query which is taking too long. I'm
using MS SQL Server 2000. The interface for the cancel is easy enough, a
form
Hi,
I take it the php_ifx.dll file is actually in the correct php4 directory?
I'm not 100% sure which version of php4 came with(if any of them) this file.
You may have to search for it on the net. I do remember seeing it somewhere.
If you do have the file, have you placed the extension=php_ifx.d
Tim Bunce, author of the Perl DBI, shares your reasoning. In the spirit of
perl (there's more than one way to do things), he offered both a virtualized
error message system (ODBC-like) and also the proprietary DB's error numbers
and messages. Of course, people used the proprietary error numbers
Py php programs do not run, when I try to run them from the Internet
explorer, nothing happen. what´s up, what can I do?
I have installed Nt 4.0 Server on my machine with IIS. THank you.
Yessbell Carranza
SISTEMAS ORION
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-m
You need to install IIS on windows 2000, and then install the PHP
executables from php.net. If you are using windows 2000,
IIS is probably preinstalled. Look for a wwwroot directory on your hard
disk.
Regards, John
"Geoff" <[EMAIL PROTECTED]> wrote in message
9dpbks$qgs$[EMAIL PROTECTED]">news:9
php-windows Digest 16 May 2001 15:13:49 - Issue 601
Topics (messages 7597 through 7613):
Re: *.ini
7597 by: jtjohnston
7598 by: jtjohnston
Re: mssql_connect
7599 by: Carlos Andre Marques Moreira
7603 by: Svensson, B.A.T.
crypt
7600 by: Ivan Pavlovic
Hello Monty,
As an author of a database class library (http://php.weblogs.com/adodb) I
can understand the need for good error messages.
I decided in adodb to avoid using virtualised error messages because of this
issue. It's more important to give good error messages than attempting to
map
to a
I give up! :-(
I've been trying lots of hours to get the php_ifx.dll to load.
I don't know what's wrong! I installed and configured Informix CLI and ESQL/C 7.2 On
my Windows 95 machine. and I have lots of environment variables set ( informixdir,
informixserver, ld_library_path)...
I still get
I use http://www.cqhost.com and http://www.1stconnection.net and I don't
have any problems.
Afan Pasalic
- Original Message -
From: "Manesh Manickam" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, May 16, 2001 5:49 AM
Subject: [PHP-WIN] Web Host
> I n
PHP and MySQL run should run fine on the win2k server, I have been running it
as the cgi version for almost 2 months now with no problems...It could be
that your host has it installed as the ISAPI module, and thats why they have
problems with it (as mentioned in another e-mail) or its possible
We offer hosting with PHP,MySQL, and SMTP.
www.pepiedesigns.com
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___+-
On Wed, 1
Also I just got these postings from another list on PHP.net
free php/mysql hosting
52974 by: Christian Dechery
52977 by: Philip Olson
They are under the PHP General list.
(To figure more out about your service problem we need more information)
MyPHP/Apache/mySQL w2K works fine.
I need a web host with myslq and PHP. Also i would be good if it have a STMP
server to! Please just reply to there posts!
--
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 administr
On Wednesday 16 May 2001 12:33, Jos Len Serna wrote:
> My question is:
> Does PHP/MySQL works well under Windows 2000 Server?
I don't use W2K but it certainly works extremely well under NT4.
Possibly your host was using the ISAPI PHP module, in which case you can tell
them to change to the CGI v
Hi
> Hi there
> Can anyone tell me how to set up subdomains in apache, and get
> virtual hosts to work, from remote computers to the localhost.
> The virtual hosts work only locally. I guess there has to be some
> sort of DNServer running on my com as well. Anyone know how to do
> it on a
Hi there
Can anyone tell me how to set up subdomains in apache, and get virtual hosts to
work, from remote computers to the localhost. The virtual hosts work only locally. I
guess there has to be some sort of DNServer running on my com as well. Anyone know how
to do it on a win98?
Cheers
X
>Any ideias? Am I missing simething?
>Think it'll be better to change to iis, so i'll get things
>working quickly.
When I comes to network related problem, and while the fault has
not been narrowed down to a specific program(topic), then it can
be virtual anything that causes the problem. It is
Hello:
I have contracted a web, hosted in a W2K Server, they didn't support
PHP/MySQL until I asked for it, so they installed PHP and MySQL and
everything worked fine, but after 2 months, they have said me PHP and MySQL
are giving problems, so they "invite me" to leave or not to use PHP/MySQL.
>some nobody at localhost, if I could make php/apache run as a specific user
>with all their permission etc, that would be great and i wouldnt need a
>persisnt prompt...any help out there?
Why would one need php/apache to run as a specific user? Being able
to change the user id of those processes
It seems that the crypt( ) work fine with version 4.0.3., but in 4.0.5. and 4.0.6
versions wont work.
Do I need the php_crypt.dll and where I can find it.
The error in browser is
Warning: crypt() is not supported in this PHP build in
The code is
$proba = crypt($newpass, $oldpass);
Hi,
now i have the following configuration:
server1.domain.com -> winnt + apache + php4.0.4
server2.domain.com -> winnt + ms sql server 7.0
server3.domain.com -> windows 2000 + iis 5 + php3.0.15 + ms sql server 7.0
server4.domain.com -> win98 + omnihttpd2.08 + php4.0.4
I have a file teste.php tha
65 matches
Mail list logo