Chris, not sure if this is related to my question aka mysql_pconnect
are u using mysql_pconnect or plain mysql_connect to connect to the
database? This is the behaviour I'm getting, but with
apache1.3.27/php4.3.2/mysql4.013
that was my first question to the guy who originally developed the
and for this i need to splitt the title retrieved from db to two
strings ..
$array = explode( /r/n, $stringToSplit );
print $array[0]; //first part
print $array[1]; //second part
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
OS: Win 2k
Web Server: Apache 1.3.27
PHP: 4.1.2
MySQL: 3.23.39
really can't tell if this is a coding issue, a software issue, or just a
random bug somewhere...
basically we have a fairly large intranet, serving up several thousand
pages/hits everyday to mainly mac/pc users. somewhere, in all
you should be able to ... in word ... open up the html page from word
itself, and then save it as a word doc... thinking in my head, soemthing
along the lines of...
$file=bios.html
$word=new COM(Word.Application) or die(Cannot start word for you);
$word-visible =0 ;
$word-Documents-Open($file);
so i have something like this...
$xlsFile = $_FILES['fileupload']['tmp_name']; //the file we're reading is
the one we just uploaded
$conn= new COM(ADODB.Connection) or die( did not connect );
$conn-Open(Driver={Microsoft Excel Driver
(*.xls)};DBQ=$xlsFile;ExtendedProperties=Excel 8.0;);
Can you not run your external programs in a batch file? Or will that
also run under cmd /c ?
chris kranz
fatcuban.com
-Original Message-
From: Dave Marr [mailto:[EMAIL PROTECTED]
Sent: 24 March 2003 18:15
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Unable to Fork error using exec
I've used COM objects to write to Excel spreadsheets and had no-end of
problems. But never tried reading from it, well, did minimal reading to
find the next blank cell, so I guess it would be much the same. It's
pretty simple stuff using the COM object to access it tho.
chris kranz
fatcuban.com
$path_to_file = http://www.yourwebsite.com/pdf/this_file.pdf;
If( file_exists( $path_to_file ) )
{
//do stuff
}
chris kranz
fatcuban.com
-Original Message-
From: Herhuth, Ron [mailto:[EMAIL PROTECTED]
Sent: 11 March 2003 16:43
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] testing
Something like...
$array_length = count( $myArray );
$myArray[$array_length + 1] = $new_data;
This what your after? I think there might be a function for this tho,
but I'm a bit thick :p
chris kranz
fatcuban.com
-Original Message-
From: Matt Babineau [mailto:[EMAIL PROTECTED]
Sent
much
difference to your scripting. It can still be dynamic as you like...
There may be some way of putting the array into the POST_VARS and then
getting JS to read it out of there, but that's just an idea, and I dunno
if that'd be supported at all.
chris kranz
fatcuban.com
-Original Message
Or...
Extension_dir = c:\php\extensions
I think as default they've unpacked there?
Not meaning to split hairs :p
chris kranz
fatcuban.com
-Original Message-
From: J.Veenhuijsen [mailto:[EMAIL PROTECTED]
Sent: 03 March 2003 08:05
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: php.ini
in PHP won't do this, and
you quickly get a flooded machine with no memory or CPU power :p
chris kranz
fatcuban.com
-Original Message-
From: Michael Power [mailto:[EMAIL PROTECTED]
Sent: 28 February 2003 11:58
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Re: destroying COM objects
Rich
to write a null string, which
apparently gives an erro :)
Thanks for the help anyway ;)
chris kranz
fatcuban.com
-Original Message-
From: Sven Schnitzke [mailto:[EMAIL PROTECTED]
Sent: 26 February 2003 09:30
To: 'Chris Kranz'
Subject: AW: [PHP-WIN] file write issues...
Hi Chris,
code runs
http://www.php.net/manual/en/features.file-upload.php
Surprisingly enough, straight from the manual ;)
chris kranz
fatcuban.com
-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: 25 February 2003 17:13
To: PHP
Subject: [PHP-WIN] File Upload Help Needed
PHP
in there incase it was having trouble
creating the file... which it's not, coz the file gets created fine.
any help please? :)
chris kranz
http://www.fatcuban.com/ fatcuban.com
difference is $home_dir comes from my
config file, and detects for itself what system it's on.
chris kranz
fatcuban.com
-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: 25 February 2003 18:10
To: 'Chris Kranz'
Subject: RE: [PHP-WIN] File Upload Help Needed
resources in there.
chris kranz
fatcuban.com
-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: 25 February 2003 17:13
To: PHP
Subject: [PHP-WIN] File Upload Help Needed
PHP List,
I'm new to PHP and I'd like to create a File Upload Page
for my
You also need the file php4ts.dll in either the apache directory, the
windows root, or in the path directive...
chris kranz
fatcuban.com
-Original Message-
From: Luis Ferro [mailto:[EMAIL PROTECTED]]
Sent: 18 February 2003 15:07
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Problems
your currently on, and it should be fairly straight
forward...
Hope this helps anyway...
chris kranz
fatcuban.com
-Original Message-
From: Matt Babineau [mailto:[EMAIL PROTECTED]]
Sent: 17 February 2003 15:03
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Previous and Next Buttons
Hi All
Ah, missed this when I first looked at your problem.
If you can't change register_globals in the php.ini file, try using
$_GET[mod]
instead of $mod
chris kranz
fatcuban.com
-Original Message-
From: wisi [mailto:[EMAIL PROTECTED]]
Sent: 10 February 2003 03:57
To: [EMAIL PROTECTED
Checkout the stripslashes() and addslashes() functions. Very cool for
stuff like this, and very easy :)
chris kranz
fatcuban.com
-Original Message-
From: Per Lundberg [mailto:[EMAIL PROTECTED]]
Sent: 12 February 2003 09:00
To: Bobo Wieland
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN
to try some
scripting, then maybe PWS is better, as you don't have to run it as a
service all the time, but if your gonna be doing stuff all the time,
again, IIS is a better bet.
Hope this helps...
chris kranz
fatcuban.com
-Original Message-
From: m1nt ch3w [mailto:[EMAIL PROTECTED
This may just be me, and I could be wrong, but I've had problems with
relative paths and such using windows boxes before. Windows had always
been an ass to me on this.
You may need to try specifying the directory absolutely.
Are you getting any error messages?
chris kranz
fatcuban.com
, that's just asking for trouble, especially if you
make a mistake... (thinks back to his recursive directory delete
function)
Hehe :)
chris kranz
fatcuban.com
-Original Message-
From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]]
Sent: 11 February 2003 15:13
To: Ignatius Reilly
Cc: Php
Need a bit more info to say for sure...
But check that PHP is setup properly on the web server, follow the
install instructions...
What server you running? Have you followed the config instructions
fully?
chris kranz
fatcuban.com
-Original Message-
From: news [mailto:[EMAIL PROTECTED
every time the script is run.
I've tried several different methods of closing it, that's why this code
is a little longer than the examples around...
Code:
...
$ex-Application-ActiveWorkbook-Close(False);
$wkb-Release();
$ex-Quit();
$ex-Release();
unset($wkb);
unset($ex);
chris kranz
fatcuban.com
seem to remember it clearly, that's why I
used NetPBM instead at the time...
chris kranz
fatcuban.com
-Original Message-
From: Afan Pasalic [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 12:19 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Fw: [PHP-WIN] GD library
Sup:
http://gallery.menalto.com/modules.php?op=modloadname=GalleryFAQfile=i
ndexmyfaq=yesid_cat=3categories=3+-+Gallery+Graphics+Toolkitsparent_
id=0
chris kranz
fatcuban.com
-Original Message-
From: Afan Pasalic [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 12:19 AM
Also check that your browsing to the files across http://localhost and
not file://c:/www/blah.php
chris kranz
fatcuban.com
-Original Message-
From: Veselina Jecheva [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 9:11 AM
To: Patrick Chemali; [EMAIL PROTECTED]
Subject: Re
Hehe!!!
It's one of those classic terms that spans across many languages and
dates back quite a long time. Whenever I pickup a programming book,
somewhere in there, you'll find the infamous foo and bar...
chris kranz
fatcuban.com
-Original Message-
From: Mikey [mailto:[EMAIL PROTECTED
to
as an absolute directory. Windows doesn't handle relative file copies
too well. It's caught me out on that a few times. TBH, not sure on all
the syntax, as I do things very differently... a lot simpler to be
honest...
Good luck...
chris kranz
fatcuban.com
-Original Message-
From: Stephen Edmonds
move_uploaded_file(d:\\temp\\ . $_FILES['userfile']['tmp_name'],
d:\\blah.txt);
see if that creates a file called blah.txt
if it does, then you gonna have to name your file, rather than just tell
it d:\
chris kranz
fatcuban.com
-Original Message-
From: Matt Babineau [mailto:[EMAIL
surely if headers had already been sent, it would give an error telling
you so. In my files, the page is displayed properly, in full, with no
errors... but cookies are missing from the server and being sent.
chris kranz
fatcuban.com
-Original Message-
From: Neil Smith [mailto:[EMAIL
Make sure you have global variables set on in your php.ini
If you can't change this, then try doing $_POST['variable name'] to get
the form fields...
Unless your submitting your form using GET ofcourse, then use $_GET
chris kranz
fatcuban.com
-Original Message-
From: Rafael Alan
For starters.
$username = $_POST['username'];
in your form, you declare name, not username
is this code you've given from the page login.php? is it simply
submitting to itself?
chris kranz
http://www.fatcuban.com/ fatcuban.com
-Original Message-
From: Adrian Partenie [mailto
I've had the same problem myself. Seems to happen with a default install
of IIS 5 etc. etc.
I've changed the php.ini so it should create and save the cookies, but
it just ignores them.
Sorry, no solution, I just made workarounds :(
chris kranz
fatcuban.com
-Original Message-
From: Ed
a script to
index and categorise each page first. Pull out text and stick in in the
database with relations to what colour it is for instance. Would make
your actual search script run a lot faster that's for sure...
chris kranz
fatcuban.com
-Original Message-
From: Radovan Radic [mailto
Line numbers...
Colours are nice, but I like it simple. And line numbers are about as
nice as I like :)
I pretty much stick to dreamweaver MX, but I disable most of the crap in
it. Just plain line numbers, and some colouring :)
Suites me just fine!!!
chris kranz
fatcuban.com
-Original
38 matches
Mail list logo