| Alice Wei aj...@alumni.iu.edu wrote in message
| news:snt101-w180f682380dc32dbf85bf9f0...@phx.gbl...
|
| Hi, PHP Window Users:
|
| I have a snippet of code as in the following:
|
| ?php
| $filename=Test123.txt;
| shell_exec(C:\Inetpub\wwwroot\hello.exe -f$filename) or die (Failed);
|
| ?
| The
Sascha,
| after a lot of testing on my Windows 2k3 server I stopped trying
| to use Winword through COM, because the returned Word COM object
| never worked (I could neither open or create a document, nor
| could I even retrieve version infos from the Word instance,
| nothing ever worked).
| I
Allen,
I had cross-browser problems earlier this year. Solved by moving to the
following header:
?xml version=1.0 encoding=utf-8?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en
Hi,
| (This is my connections.php)
| require_once(Connections/connection.php); //database connection
| Warning: require_once(Connections/connection.php)
|
| I have a feeling that my issue is contained within:
| (include_path='.;C:\php5\pear')
It might be a slip of typing but you say in
Gustav Wiberg wrote:
Mis-attributed. This was in my reply to Gustav.
I do this on my WinNT server - in fact its the only thing left
stopping me
from moving to Linux!
COM functions are only available for the Windows version of PHP.
My point exactly. When I am able to create a Word
Gustav,
Windows 2003 Server/PHP 5.0.1
Is it possible to download a file from a server that is at for
example u:/documents/ which is not under the www-root?
How would I reference that file. (I just want to open it -for
example a word-file)
Yes, you can. I actually let my [registered] users
Sam,
I have to different pages (forms) one.php and two.php I created
two different pages (onemysql.php and twomysql.php) to handle
myql data for each of them I add header(Location: one.php);
to onemysql.php
And header(Location: two.php); to twomysql.php
one.php works fine. two.php
Daniel,
It may use C:\Windows\php.ini on your box, but mine is definitely using
C:\PHP\php.ini.
On my NT boxes, I have the following at the end of httpd.conf:
# configure the path to php.ini
PHPIniDir C:/php
But no reference at all on my XP box.
George in Oxford
-Original Message-
Hi,
I use iText to split and join pdf files. I have this on my WinXP laptop and
get php to build a .bat file - which works fine. I also have iText on my
linux server and can call that from within my php script by doing:
$x = shell_exec(java -cp itext.jar com.lowagie.tools.concat_pdf blah
blah);
Well, I run IIS on Windows NT, but used to do it on my XP laptop before that
was switched to Apache.
I just need to restart the webserver (3 on the list) and 'Restart' is an
option on XP.
George
-Original Message-
From: Aaron Kenney [mailto:[EMAIL PROTECTED]
Sent: 24 March 2006 7:47
Hi,
I have a page with a link. If the user clicks on the link, the script builds
a Word doc using RTF formated data. This is then delivered to the user via a
typical header.
So far, so good - it works fine. Part of the build process includes a db
query which tells the db that the doc for the
Hi,
Firstly, I've trawled through Google, phpbuilder archives etc and have found
lots of similar requests to this, but no solution.
I need to grab some files from another machine on a local network but PHP5
won't work with the UNC path.
Does anyone know a solution or a workaround?
Cheers
Sorry about the cross-posting.
I've been a Filemaker user for around 10 years now. Its brilliant for small
scale applications, but over recent months, I've been porting a site based
on Filemaker v5 to PHP/MySQL. I am using PEARD:DB and the Smarty templating
engine.
One of the nice tricks in FM
Thanks to all who responded. I did managed to write a working function last
night, but I've now dropped that one in favour of the sprintf() function.
Cheers
George
-Original Message-
From: re_action [mailto:[EMAIL PROTECTED]
Sent: 3 December 2004 5:28 pm
To: George Pitcher
Cc
Hi,
I want to be able to display the results of some calculations as currency
such as £25.50, but round($var,2) produces £25.5.
I've tried writing my own function but that just fouled up the calculation.
Any tips or suggestions?
Cheers
George in Oxford
--
PHP Windows Mailing List
If I'm correct, 'REQUEST' will catch both 'POST' and 'GET' args.
Personally, I've written a function to emulate register globals=on without
actually compromising the system. It parses the arg and matches it against
the various types. It helps me to maintain my lazy programming approach -
not
Hi,
I'm currently rebuilding a site previously constructed using
Lasso/Filemaker. I'm using PHP5/MySQL4/PEAR::DB and Smarty.
The site holds course content information for universities and colleges.
My first page after logging on displays courses for the user. This lists
relevant courses, their
Hi,
I have a master database and a customer-facing website and a staff-facing
website - both connecting to the same database. I use Smarty and PEAR::DB
and PHP5.
I have no problem connecting from one site, but the other just generates
'could not open database' on the home page. This is happening
Hi,
I'm building a site where among other things, the user (librarian) can see
if a file has been mounted on a local webserver for students to download. I
could provide a link so they can see if the file (pdf) can be downloaded,
but I'd rather just say 'yes' or 'no'.
This requires the page doing
: Mike [mailto:[EMAIL PROTECTED]
Sent: 20 October 2004 3:24 pm
To: 'George Pitcher'; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] checking file is mounted at the end of a url
If you know what the local file name and path are supposed to be, then you
should be able to use file_exists() for that task
Thanks for moving me in the right direction. fopen() will test the
existence of a file at the end of a url.
Cheers
George
-Original Message-
From: Mike [mailto:[EMAIL PROTECTED]
Sent: 20 October 2004 3:24 pm
To: 'George Pitcher'; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] checking
Thanks to all who chipped in.
I'm going with John Asendorf's '$pages = ereg_replace ( [^0-9cdilmvx,] ,
- , $pages);' which works for me.
Tom wrote:
But do you really want an A (etc.) to be considered a dash?
Yes, because it is not a valid pagerange character.
Cheers, and thanks for saving me
susilo wrote:
How to input hidden type FORM tag in PHP, and the SELECT TAG form
variabel option
Not quite sure what yo mean here but if you want to have a form input type
to be hidden thats HTML amd nothing to do with PHP.
George
--
PHP Windows Mailing List (http://www.php.net/)
To
Hi,
I don't want to spend a lot of time leaning how to use this function but I
have a problem that I think it can solve.
I have a web form that allows the user to (amongst other things) submit a
pagerange to my database. Using '-' and ',' as separators, I am able to
calculate the number of pages
-
From: Asendorf, John [mailto:[EMAIL PROTECTED]
Sent: 29 September 2004 3:43 pm
To: George Pitcher; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] ereg_replace help wanted
Actually, what you need is split() by the sounds of it. Spliting
the groups of pages by ',' would give you an array
Hi,
No response received after my request yesterday, so I'll try again.
I have a script that copies a file from a mapped drive on my local network
and places it in a particular directory on my laptop. I then do somethjing
with the file.
While I ran PHP4.3 it worked like a dream, and since
Hi,
Having sorted most of my upgrade issues, one remains (that worked previously
with v4).
My code:
01 ?php
02 $filename =c:\\deliveries\\upload\\jphp.bat;
03 if($filename){unlink($filename);}
04 $howmany = $_POST['howmany'];
05 $sourcepath=G:\\;
06
Hi,
I'm trying to validate page range data. This can be entered as (example)
i-ix,1,23-45. I am trying to ensure that, where the user is pasting data
from a web page, for instance, that uses an 'n-dash' rather than a hyphen
(but could use something else), that the user is alerted to re-type the
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 10 September 2004 11:10 pm
To: George Pitcher; [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] PHP5 install woes
george,
are you using multiple virtual hosts? i had the same
problem and decommented doc_root
Hi,
I've checked the archive and couldn'tfind a solution to my problem, which
is:
I renamed my php 4 folder, and ini file, went through the manual install of
PHP 5.0.1 and stopped and started my IIS server. I then opened my usual
instance of phpinfo.php and got the usual listing.
As I use
Hi,
This is slightly off topic, but it may be that PHP can provide the solution.
I am running Filemaker Pro v5 Unlimited on an NT4 Server box. I have a
Filemaker plug-in that checks that the required databases are running every
5 minutes, and if not, launches them. That's fine as long as the
Unknown(): Unable to load dynamic library
'C:\PHP\extensions\php_java.dll' -
Access is denied.
Just another possibility: Several people have had luck moving the
library to
your system folder.
Alas, not me. Still no joy.
George
--
PHP Windows Mailing List (http://www.php.net/)
To
[snip]
Unknown(): Unable to load dynamic library
'C:\PHP\extensions\php_java.dll' -
Access is denied.
[/snip]
maybe the webserver has not enough rights to load the extension. try
just giving everyone full access to this file, and then restart the
webserver. if it still doesn't work, i
Hi,
I need to be able to communicate with a Java application, so thought I'd
start my installing the php-java extension. Having followed all the
instructions - and checked PHPBuilder etc for this error I'm stumped.
The error in question is:
Unknown(): Unable to load dynamic library
Hi all,
I've just moved form Win2k to XP (to get my wireless card to function!) and
having re-installed everything, but using the most up-to-date downloads (but
not v5 yet), I'm hgaving a problem with a script that builds a PDF page from
Filemaker.
This is the error I get:
Jason,
The revised 'path' did the trick.
Ta.
George
-Original Message-
From: Jason Barnett [mailto:[EMAIL PROTECTED]
Sent: 7 July 2004 8:25 am
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: PHP extension problem in new XP site
And the relevant bit from the php.ini
Hi,
I have several systems running which gather, store and process bibliographic
data. I have treated pageranges on the basis of two fields per range - start
and end, with supplemantary ranges available as well.
I've never had to deal with more than 3 ranges in a reference: chapter,
references
){
$pc++;
} else {
$pc+=(($z[1]-$z[0])+1);
}
$x++;
}
echo=Range has $rg groups and $pc pagesbrbr;
?
George
-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]
Sent: 29 June 2004 12:51 pm
To: [EMAIL PROTECTED]
Subject: [PHP-WIN
I'm using fx to extract data from a FileMaker database and am encountering
some HTML entity issues. This data is going into a pdf page, so isn't being
displayed on the web.
The copyright symbol comes out like: #169; and I've noticed a couple of
accented characters as well.
The data was put on
Hi,
I thought I'd share somthing I found: iText.
I had a need to join some PDFs together using php. My local Java gurus
pointed me towards iText (http://www.lowagie.com/iText/).
I haven't been able to fully integrate it with PHP but so far, I can loop
thru the the list files I want to join
but with the
same negative result as before.
Any suggestions?
Cheers
George
-Original Message-
From: Frank M. Kromann [mailto:[EMAIL PROTECTED]
Sent: 14 June 2004 6:00 pm
To: George Pitcher
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] executing a java app from a php script
It could
Hi,
I'm trying to do a bit of java execution as part of a php routine and the
following just doesn't work:
?php
$cover = c:\\javatest\\44438.pdf;
$cover_fin = c:\\javatest\\44438_fin.pdf;
$cover_enc = c:\\javatest\\44438_enc.pdf;
$docname = c:\\javatest\\Lovejoy1.pdf;
$cmd = java -cp
Hi,
I'm thinking ahead to something I'll need to tackle in the future.
My current system is Filemaker based and I can import straight from Excel
spreadsheets - but with no checking available. Now that I'm re-writing into
php/mysql(pear:dB)/smarty, If I can, I'd like the user to be able to select
Hi,
I want to be able to pass the '=', '+' and '-' characters both from a web
form and as part of a url, to enable a better way of searching. However,
these characters are choking my IIS webserver and not getting through to the
script.
Can anyone suggest a better way of achieving this?
Cheers
] Passing +, =, - at post and get
I hope you are not allowing the client to send T-SQL through the query
string. Consider them sending something like
File.php?Query='; drop table XXX; --
Charles Killmer
-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]
Sent: Thursday
;
}
=
This works fine if the user has eneterd either no control or the * wildcared
with the criteria.
Any suggestions?
Cheers
George
-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]
Sent: 20 May 2004 2:33 pm
To: [EMAIL
);
-Original Message-
From: George Pitcher
To: [EMAIL PROTECTED]
Sent: 20-5-2004 15:43
Subject: RE: [PHP-WIN] Passing +, =, - at post and get
And doing a bit more, I find that '=' and '-' are passing through OK so
I'll
need to train my users to use an alternative to '+'.
The choking seems
Whilst I agree with the sentiments of Tony and B.A.T., some of us must as a
condition of using their employers' email facilities, add company
disclaimers to their messages.
As long as they don't start to appear at the top of messages, I will
continue to ignore them.
George in Oxford
. Managers are know by engineers to make decision that
an engineer might not agree with.
//Anders
DISCLAIMER: by receiving this e-mail you agree to annually, for a period
of teen years, send 10% of your salary to the sender of this mail.
On Tue, 2004-05-18 at 15:49, George Pitcher wrote
Hi,
Can anyone point me to a routine that will take the POST field and its value
and parse it into a suitable sql query.
For example:
$_POST['title'] is the post var and the user has entered *good boy
+favour -witch.
It should produce the following sql snippet ( to form part of the full SQL
to hide the WHERE criteria in a
hidden form field or a SESSION variable. Essentially this ends up
saying That data I just requested and looked at.. Change this field all
to the same thing I just entered.
Am I missing something or is this what you were looking for?
-TG
George Pitcher said
Hi,
I think this is not possible, but hopefully, someone will prove me wrong.
Imagine a webform with about 50 fields (I actually have several of these
forms). Theuser will see a record from a recordset and be able to navigate
through the recordset. I've sorted that part out using PEAR, Smarty
Trevor,
Thanks for your well thought through response. Sorry I wasn't clear in my
request.
One thing that's certain, almost EVERYTHING is possible, it just depends
on how much time and effort you're willing to put into it :)
That's what I thought.
1. You load in a recordset with roughly 50
Hi all,
I'm using php to create java classes for database access. I have a file (a
few in fact) containing a list of fieldnames, one per line.
So I open the file and read it line by line and create the java code.
Opening reading and closing is repeated for the several stages of definition
and
Sorry guys, its OK now. I was checking an earlier output (too many
interruptions at work).
Ta.
George
-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]
Sent: 29 March 2004 11:31 am
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Stripping returns
Hi all,
I'm using php
Surely we're still months away from a 'Holly War'.
George
-Original Message-
From: Cesar Cordovez [mailto:[EMAIL PROTECTED]
Sent: 19 March 2004 2:23 pm
To: Felipe Eduardo Ortiz López
Cc: lPHP and Databases; lPHP Para Todos; lPHP For Windows;
[EMAIL PROTECTED]; LProgramación en PHP
Ciro,
Tyr reading your variable as $_POST['first_name'] and see if that works.
That's the default way of passing form and url variables in PHP.
If you would rather do it the 'old' way (not recommended), open your php.ini
file and check the 'register globals' to 'on'.
George Oxford/Edinburgh
I have both access and MySQL DBs and I have to change my method for Access
to 'select top 10 [fields] from table where x=x etc order by y'
MS SQLServer may need the same.
George in Oxford
-Original Message-
From: Nadim Attari [mailto:[EMAIL PROTECTED]
Sent: 6 February 2004 11:33 am
This reminds me of how a few years ago whilst working on a university
library project I was introduced to programming. Being Mac-based, I decided
to use Frontier, to the horror of everyone else who tried (unsuccessfully)
to get me onto Perl. So I checked the library for a Perl book and the only
Ron,
What I do is this:
Firstly, $howmany is passed as a final loopcounter from the form.
for ($index = 1; $index $howmany; $index++){
$varname = 'varname'.$index;
$varname = $_POST[$varname];
//repeat process for $vars and do something
}
It works for me.
George in
'.
Thanks for the tips.
George
-Original Message-
From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]
Sent: 13 December 2003 8:54 am
To: ''George Pitcher ' '; ''[EMAIL PROTECTED] ' '
Subject: RE: [PHP-WIN] querying more than one db from a php page?
Another thought - came to me
Hi,
I am developing my main site to run on php/mysql (currently
lasso/filemaker).
I am also developing some individual sites to be hosted on the same server
as my main one and I'd like to be able to update those smaller site
databases when activity happens on the main site.
I'm still a couple
://www.interakt.ro/
Tel: +4021 312.53.12
Tel/Fax: +4021 312.51.91
George Pitcher [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I've started redesigning a website that is currently running using
Filemaker/Lasso. The new site will by PHP/MySQL.
I'm in the early stages
Hi,
I've started redesigning a website that is currently running using
Filemaker/Lasso. The new site will by PHP/MySQL.
I'm in the early stages but I've been doing some basic tests and I'm
disappointed with the speed of PHP in building the web-page. I've set up a
SQL query which takes 0.89 secs
Hi,
I'm playing with nuSoap and have set it up on NT/IIS4 but it takes too long
to handle the simplest of requests. I keep getting the 30 secionds execution
time message.
Anyone have any suggestions?
Cheers
George in Oxford
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe,
. I'm using Win2K/WinNT servers and most of my
clients are on windows.
George
===
George Pitcher
HERON Technical Manager
Ingenta plc
23-38 Hythe Bridge Street, Oxford, OX1 2ET
T +44 (0)1865 799051 direct
T +44 (0)1865 799000 switchboard
F +44 (0)1865 799134
E [EMAIL PROTECTED]
www.ingenta.com
Hi,
I'm having a problem with the following query (ODBC on M$ Access):
select Pack.*, Transacts.*, Extracts.* from Pack, Transacts, Extracts where
(
Pack.End date() and Pack.Term='Lent' and Transacts.Week=1 and
Transacts.Pack_ID=Pack.Pack_ID and Extracts.ID=Transacts.Extract_ID)
ORDER BY
The date format in my query works fine with Access.
I solved the problem by splitting the query into two separate queries and it
now works fine.
Cheers
George
-Original Message-
From: Disko_kex [mailto:[EMAIL PROTECTED]
Sent: 29 September 2003 1:25 pm
To: 'George Pitcher'
Subject
If I have a date (2003-04-02) and want to select 9 months later,
how to do?
Try this:
echo date(Y-m-d,strtotime(2003-04-02 +9 month));
[EMAIL PROTECTED] bats]$ echo date(Y-m-d,strtotime(2003-04-02 +9
month));
bash: syntax error near unexpected token `('
[EMAIL PROTECTED] bats]$
Hi,
I use the following code to grab a pdf from a different disk and then pass
it out to a web-user.
= = = = = = = = =
?php
$c_id=$_POST['c_id'];
$fpd = E:\\icon_pdf\\ . $c_id . .pdf;
$len = filesize($fpd);
header(Content-Type: application/pdf);
header(Content-Disposition: inline;
Simon
George Pitcher [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I use the following code to grab a pdf from a different disk
and then pass
it out to a web-user.
= = = = = = = = =
?php
$c_id=$_POST['c_id'];
$fpd = E:\\icon_pdf\\ . $c_id . .pdf;
$len
as text),
parse it then write it to an open txt file, then rename that as a Word doc.
I'm running this on NT with PHP 4.3.2. The folder has write access for the
web user.
Any suggestions?
Cheers
George
===
George Pitcher
HERON Technical Manager
Ingenta plc
23-38 Hythe Bridge Street, Oxford, OX1
;
}
fclose($fp2);
rename($cr..txt,$cr..doc);
It may be of use to someone else.
Cheers
George
-Original Message-
From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]
Sent: 9 September 2003 3:54 pm
To: George Pitcher
Subject: RE: [PHP-WIN] Problem writing to a file
Try us the file
Hi, after using PHP for ages, my laptop died on me and I've been trying to
get PHP active on a new W2K machine running IIS5.
I've tried both the installer and the binary (both as CGI and ISAPI) with no
success.
I've copied the php4isapi.dll file along with php.ini to winnt\system32,
tried just
Hi all,
I had a requirement to produce neat Word documents to send as email
attachments. I looked at the COM method but couldn't get it to work (didn't
really try that hard though). Anyhow, I tried another method which procuces
exactly what I need.
Firstly, create the document shell in Word
Hi all,
Sorry to waste bandwidth with this request.
In a moment of madness late last night, I modified my 'MMDocumenttypes.xml'
file without taking a backup first.
Since then, I get a 'fatal error' message whenever I start DW.
I would just re-install from scratch but my CD set is back in
Thanks guys,
Its working fine now.
Fastest response I've ever seen on any list
No need for any further copies!
Cheers
George
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of George Pitcher
Sent: 02 June 2003 7:26 am
To: [EMAIL PROTECTED
Your buddy probably has register globals switched on.
George
-Original Message-
From: Reggie P [mailto:[EMAIL PROTECTED]
Sent: 10 March 2003 12:40 pm
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: Variable problems
Thanks, but I found out something really interesting! I was using
Matt,
You should NEVER force a download on anyone. How do they know it isn't
carrying a virus.
What you should do is to send the headers that prompt a dialog box for Save
or Open (I'm sure you've seen this).
I'm not sure which headers you use for csv or txt files but I do this with
PDFs all the
frightening.
And I would like to end up with an array with keys (fieldnames) and values.
But I'm stuck at the first hurdle because I can't find out how to put a line
into a string.
Any pointers?
George in Oxford
===
George Pitcher
HERON Technical Manager
Ingenta plc
23-38 Hythe Bridge Street
Yes, eventually. I want to come up with a good method because this file is
going to be supplied to me on a fairly regular basis.
George
-Original Message-
From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]]
Sent: 11 February 2003 10:56 am
To: George Pitcher; [EMAIL PROTECTED
]]
Sent: 11 February 2003 11:03 am
To: George Pitcher; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] reading lines from a file
Then you need to write a parser. What's the basic problem then?
-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11
you what the code would be?
chris kranz
fatcuban.com
-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]]
Sent: 11 February 2003 11:59
To: Svensson, B.A.T. (HKG); [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] reading lines from a file
Yes, I suppose I do.
I want
Anders,
Thanks - I'll see if I can persuade one of the PERL people here to have a
go.
Ta.
george
-Original Message-
From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]]
Sent: 11 February 2003 12:24 pm
To: George Pitcher
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] reading
Chris, et al,
Nope, I never mentioned the command line at all, but it is probably how I
would have done it if I hadn't passed it over to the PERL guys.
It would have been useful to go through a parsing routine just to learn how
its done (never know when it might be a useful trick).
Even so, I
eventually but I'm using FileMaker right now).
Any suggestions (that do not involve a pistol)?
George in Oxford
===
George Pitcher
HERON Technical Manager
Ingenta plc
23-38 Hythe Bridge Street, Oxford, OX1 2ET
T +44 (0)1865 799137 direct
T +44 (0)1865 799000
still don't see how it is going to be easy.
George
Jochem
George Pitcher wrote:
Hi,
I'm looking for some advice.
One of my suppliers (big publisher) has sent me a file
containing records of
their books. The file is anabsolute nightmare.
There are approx 8000 records
am
To: George Pitcher
Subject: Re: [PHP-WIN] Re: parsing tricky text file
In this record, that is true but having a look through a sample I have
found at least 5 fields that have 'duplicates'.
Are these duplicates in the same record?
Jochem
George Pitcher wrote:
J.Veenhuijsen wrote
Guys,
I think that the point was missed here.
I'm not the original poster but my reading of it was that considering what
was being undertaken might prove problematic (writing a win web-server) that
the recipient might find herself prone to utter the odd swear word or curse.
Nothing more than
Hi all,
If I uncomment the php_gd.dll extension in php.ini (after making sure that
the extesnion path points to where the extensions are), I get an error
message saying that it has not been able to load the said extension.
Any ideas as to what I should be looking for here?
Cheers
George
--
.
Everything now works tickety-boo.
This might just help someone else facing the same problem.
Cheers
George
===
George Pitcher
HERON Technical Manager
Ingenta plc
23-38 Hythe Bridge Street, Oxford, OX1 2ET
T +44 (0)1865 799137 direct
T +44 (0)1865 799000 switchboard
F +44 (0)1865 799134
E [EMAIL
work in
my Calendar site.
Thinking it might be a 'frames' issue, I have put a test into the Frameset
holder to redirect if the cookie is not being read and sure enough it dumps
me out of the frameset.
Does anyone have any suggestions?
Please!
MTIA
George
===
George Pitcher
HERON Technical
appeciated - this is doing my head in.
Cheers
George
===
George Pitcher
HERON Technical Manager
Ingenta plc
23-38 Hythe Bridge Street, Oxford, OX1 2ET
T +44 (0)1865 799137 direct
T +44 (0)1865 799000 switchboard
F +44 (0)1865 799134
E [EMAIL PROTECTED]
www.ingenta.com
Ingenta: Empowering
\Month2.php on
line 48
Now can anyone suggest where I've gone wrong?
Cheers
George in Oxford
===
George Pitcher
HERON Technical Manager
Ingenta plc
23-38 Hythe Bridge Street, Oxford, OX1 2ET
T +44 (0)1865 799137 direct
T +44 (0)1865 799000 switchboard
F +44 (0)1865 799134
E [EMAIL PROTECTED
(Sorry, unable to upload the file at this time - please try
again
later.);
header(Location: $location);
}
}
?
Although the above script works, octet-stream covers more than just tif
files.
Any clues?
Cheers
George
===
George Pitcher
HERON Technical Manager
Ingenta plc
23-38 Hythe Bridge Street
'image/tiff' instead...
George Pitcher [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi all,
I have file upload working on my NT/Lasso/PHP site and want to restrict
the
type of file being uploaded to either PDF, TIF or ZIP.
My co
Upload - extension filtering
using the mime-type is safer ;)
George Pitcher [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Brian,
Thanks. However, I have just solved it by using stristr() instead.
Works a treat.
George
-Original
Hi all,
I am setting up php on a remote server (400 miles away, using remote admin
software) and just cannot get the phpinfo() stuff to work.
I've followed all the instructions and all I get is an HTTP 500 error
message (Internal server error).
Other pages in that folder work fine.
Any
Having just gone through the process of moving a php site from Win 2K to
Linux, the thing that caught me out was case sensitivity but it only took
about 30 minutes to sort out (40 pages).
George in Edinburgh
- Original Message -
From: Brinkman, Theodore [EMAIL PROTECTED]
To: php hlp list
Darvin Andrioli suggested, on 20020328:
http://www.zend.com/zend/spotlight/sendmimeemailpart1.php
Sorry, I was none the wiser after reading this article, as to how to get php
to send an attachment with an email message. The attachment in this case is
being generated from db output and saved as
1 - 100 of 113 matches
Mail list logo