Hi,
My first post for several years. Using PHP 5.2.6 on Debian.
I'm trying to connect to an external SOAP server where no WSDL file exists.
I've been unsuccessful in getting a response which I've put down to the message
being sent.
My code is:
$params = array(
Iv,
Thanks, but its Firefox to blame. Apparently it holds previously stored values
in form fields. These are released when the user holds shift while reloading.
Cheers
George
>| -Original Message-
>| From: Iv Ray [mailto:[EMAIL PROTECTED]
>| Sent: 28 May 2008 4:55 pm
>
Hi,
Apologies for posting this here but coudn't find a decent Smarty list.
I've been using Smarty for 4 years without much problem. I'm adding some
extra functionality to a page used by 2 members of staff. My snippets of
relevant code are:
$smarty->assign('clearance', $clearbits['clearance_
Hi,
If anyone is using clsMsDocGenerator to produce MSWord files without using
COM, I have a just one question (I tried the PHPClasses forum, but couldn't
get my forum post in).
How do you remove borders from tables?
I am preformatting a html string with att the data going into the document,
inc
> On Wed, Mar 19, 2008 at 10:50 AM, alexus <[EMAIL PROTECTED]> wrote:
> > what book would you guys suggest for someone who's new and
> wants to learn php?
>
> This is just my opinion, of course, but I wouldn't recommend
> starting with a book. I'd recommend the online manual at
> http://php.ne
Hi,
I've recently installed PAMP (PHP, Apache, MySQL & Python) on my Nokia N95.
I can do my development in Dreamweaver and move across to the phone and it
all works.
I have some questions, but won't bother asking if there's no-one else here
doing it.
Cheers
George, in a very wet Edinburgh
--
> On Thu, December 20, 2007 8:37 am, Christoph Boget wrote:
> > Let's say I have the following 3 files
> >
> > global.php
> > > function myFunc() { echo __FILE__; }
> > ?>
> >
> > one.php
> > > include( 'global.php' );
> > echo 'You are in file: ';
> > myFunc();
> > ?>
> >
> > two.php
> >
Hi,
> On one script (pulling large amount of data from mysql) I'm getting error:
> "Fatal error: Allowed memory size of 16777216 bytes exhausted..."
> I put on the beginning of the page
> ini_set('memory_limit', '64M');
> but I'm still getting the same error message?!?
>
ini_set() returns the old
Ronald,
Add 'example' to the end of the search query.
George
> -Original Message-
> From: Ronald Wiplinger [mailto:[EMAIL PROTECTED]
> Sent: 28 November 2007 8:07 am
> To: Jay Blanchard
> Cc: PHP General list
> Subject: Re: [PHP] Can I create flash via php?
>
>
> Jay Blanchard wrote:
>
Hi Rob,
>
> You could try the following headers (they might also cause trouble to the
> antispam soft, but I'd give it a try)
>
> // Replies delivered to the user
> Reply-To: <[EMAIL PROTECTED]>
> // Bounces delivered to the user
> Return-Path: <[EMAIL PROTECTED]>
> // Errors delivered to the user
ot;For example, this can be used to set the envelope sender address
> when using
> sendmail with the *-f* sendmail option."
>
> It is not well documented, don't know if this helps, but it may get you
> started.
>
> Cheers - Miles
>
> On Nov 26, 2007 3:21 PM, Geo
Hi,
I have almost 30 websites that use PEAR::Mail to send emails on behalf of
users at universities (one site for each) to lecturers at the same
university.
The problem I have is that if a lecturer sets an 'Out of Office' status, it
gets bounced back to my server instead of to the user at the uni
Paul,
> What I'm really looking for is a PHP class that will read FileMaker
> files in their native format. I'm beginning to suspect that none
> exists in the public arena. Someone please tell me there is!
I've been a Filemaker user (and had some Lasso and Frontier driven sites
once). I still u
I've only used .afm. I seem to recall that there was a conversion utility
available.
George
> -Original Message-
> From: Shelley Shyan [mailto:[EMAIL PROTECTED]
> Sent: 9 November 2007 8:16 am
> To: George Pitcher; php-general@lists.php.net
> Subject: RE: [PHP] Cre
> I want to create a pdf file with several fonts. Which tool is
> better, pdflib, ezpdf, ?
> Any suggestions?
I can't say which is better, but I use ezpdf and have been able to do
multi-font stuff so that I can match corporate styles.
George in Edinburgh
--
PHP General Mailing List (http:/
> Apart from that Eclipse is excellent and is improving.
I used Eclipse a few years ago when I was pretending to be a java developer.
Since then I've mainly been using Dreamweaver, which works well with Smarty,
and the 30-odd sites I manage.
How easy would it be for me to move my existing PHP
Colin,
> Either phrase can be a good or a bad thing, it all depends on tone -
> Scottish is very like Japanese in that respect :p
>
Nips are good, but drams are better!
George
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Tijnema,
> > Nothing found in the archive, so asking the question: has
> anyone done any
> > scripting of Crossover to control MS Office applications on Linux?
> >
> > I would love to move to Linux, but have some apps that create
> MS Word docs
> > and some doing Excel parsing.
> >
> > Cheers
> >
Hi,
Nothing found in the archive, so asking the question: has anyone done any
scripting of Crossover to control MS Office applications on Linux?
I would love to move to Linux, but have some apps that create MS Word docs
and some doing Excel parsing.
Cheers
George in Edinburgh/Oxford
> Does anyone else have this problem with the list. It seems that
> every time I
> check my email there is one or more messages from the list that royally
> screws up Outlook. I usually have to delete all list messages from the
> actual server and reboot. It only happens with emails from
> [EMAIL P
> Jochem,
> >
> >>> This is what
> >>> the browser (guessed wrong - I'm using Firefox) shows in the
> status bar.
> >> ok, right - so what does the html source actually contain?
> >>
> > PDF
>
> so what happens when you make it like so:
>
> PDF
>
> ?
No change.
George
--
PHP General Maili
Jochem,
> > This is what
> > the browser (guessed wrong - I'm using Firefox) shows in the status bar.
>
> ok, right - so what does the html source actually contain?
>
PDF
> I'm assuming that the way firefox is interpreting the link makes
> it not work?
> does the link work in IE?
>
I get exactly
Hi,
I have a web page that only I see, and I want to link to a PDF file on a
mapped drive so that it will open in Acrobat.
I have tried variations on the following:
$storelink = "PDF";
and the link keeps coming out as:
file:///G:/575991.pdf
So I have 3 x '/' and a '/' where I want a '\'.
Can
Jochem,
> > I have tried variations on the following:
> >
> > $storelink = " > target=\"_blank\">PDF";
> >
> > and the link keeps coming out as:
> >
> > file:///G:/575991.pdf
>
> is that what the browser (let me guess: IE) is interpreting
> the link as or is that what is literally in the html sour
Edward,
Thanks. This has pointed me towards ssh2_sftp, new negotiations with
customer ahead.
Cheers
George
> -Original Message-
> From: Edward Kay [mailto:[EMAIL PROTECTED]
> Sent: 8 February 2007 11:45 am
> To: George Pitcher; PHP General List
> Subject: RE: [PHP]
Hi,
I run specialised websites on my NT server on behalf of some universities.
These sites offer processes to librarians (mainly) enabling them to order
services from my company as well as doing some processes themselves. The
processes involve handling PDF files, and I've done all the
PDF-building
> I'm guessing a bit but it sounds like inserting a stack of RAM will make
> the problem go away for the foreseable future.
>
I will ask.
> >> isn't it cheaper to install a dedicated server for your app?
> >> (rather than making you jump thru hoops, I mean AFAICT this is
> >> a core business act
Roman,
> -Original Message-
> From: Roman Neuhauser [mailto:[EMAIL PROTECTED]
> Sent: 16 January 2007 4:53 pm
> To: George Pitcher
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] running exec() on client
>
>
> # [EMAIL PROTECTED] / 2007-01-16 15:18:50 -
Jochem,
> -Original Message-
> From: Jochem Maas [mailto:[EMAIL PROTECTED]
> Sent: 16 January 2007 3:31 pm
> To: George Pitcher
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] running exec() on client
>
>
> George Pitcher wrote:
> > Hi,
> >
>
Miguel,
>
> You do not need to have apache installed to run PHP you just need
> PHP-CLI (Command Line Interface)
>
Yes, I do know that, but what I want is for my colleague to follow a link on
her web page that will trigger the php command, passing any required
parameters.
Cheers
George
--
PHP G
Hi,
I am looking for a solution to a server problem. I am part of a 2-person
team - I look after document scanning, OCR (by outside agencies) as well as
all development.
My colleague is responsible for obtaining copyright permission from
publishers (for what I do). Part of her process is sending
> George Pitcher wrote:
> >> Are you sure the web service is giving you 160.44? I get it
> displayed as
> >> expected...
> >>
> >> http://dev.stut.net/php/pitcher.php
> >>
> > Yes, I am echoing the 160.44 ok. I'm just not gettin
> George Pitcher wrote:
> > As part of a result from a web-service call, I get a price in
> dollars and
> > cents as a decimal number eg.160.44 (the example I am working on. This
> > price is for permission to re-use some published material and for each
> > additiona
Hi,
As part of a result from a web-service call, I get a price in dollars and
cents as a decimal number eg.160.44 (the example I am working on. This
price is for permission to re-use some published material and for each
additional separate pagerange, $3 needs to be added afterwards.
So I have th
Hi guys,
Back onto the original topic. I spoke to my potential client this m orning
and they were just looking for the scanning steps to be recordable in the
CMS - which my CMA already does.
Thanks for all the positive suggestions and nice to see me starting a useful
conversation for once.
Cheer
Hi,
I have been asked to look at extending one of my CMS systems to incorporate
integration to a library management system, as well as LDAP and Active
Directory. The requirement also asks for scanning and OCR of documents to be
controlled by the CMS.
Does anyone have any experience of implementin
Ryan,
I would still recommend Smarty.
It can be as big as you like, but it can also be very simple to set up and
maintain. It has the features should your friend decide to expand his usage
in the future. If you opt now for something with limited features and later
decide to step beyond them, you'
Hi,
I have several websites that are using a common set of pages (to reduce
maintenance, development and upgrading) and use configuration files to give
the customer the feeling that it is their own unique site. The customers are
all universities and use the sites to manage digitisation and copyrig
Mark,
I use one functions file per site, then I know that if I include it, and all
of my functions are available.
George
> -Original Message-
> From: Mark Kelly [mailto:[EMAIL PROTECTED]
> Sent: 26 May 2006 9:02 am
> To: php-general@lists.php.net
> Subject: [PHP] Including Functions; one
Hi,
Last year I switched from using FileMaker Pro to MySQL. One of FileMaker's
quirks was that if, in a text field, you searched for say, 'free ass boo',
it would find any records with those three substrings in that field (in this
example, its 'Free Association Books').
I want to have this quirki
> On Mon, May 15, 2006 1:58 am, Jason Wong wrote:
> > 2) the uploaded file is a "script" (perl/php/python/etc)
>
> > In the case of (2), if the script relies on its shebang line to
> > execute
>
> Not necessarily -- What if I upload an "image" file named
> "badscript.php" and then I surf to it, aft
Have a look at the iText java class. I use it in conjuction with php for
file splitting and concatenation, but it has a whole host of other features.
It's accessible via sourceforge or from the author at
www.lowagie.com/iText/.
Hope it helps
George
> -Original Message-
> From: cajbecu [m
> >>> Which of the following pets do have at home:
> >>> dog
> >>> cat
> >>> snake
> >>> snake
> >>> none of
> >>> these
> >>>
> > [snip]
> >> I don't know if this works in PHP as well.
> > It is a "checkbox" so it won't work without "[]" in PHP.
> >
>
> It will work without []. It will just not b
8 pm
> To: php-general@lists.php.net
> Subject: Re: [PHP] Problem with mail() on Debian
>
>
> Hello,
>
> on 02/23/2006 11:32 AM George Pitcher said the following:
> > My apache error.log says:
> >
> > sh: line 1: /usr/sbin/sendmail -t: no such file or directo
Jochem,
>
> personally I'd rather stick my head in a blender than use webmin to edit
> such conf files. (no I wouldn't but you get the point hopefully)
>
> how are you restarting apache? possibly your being told that the restart
> occured but really your being lied to ... try doing it 'manually':
Manuel,
> > I have found that any changes I make to php.ini are ignored, even after
> > restarting Apache. I have been editing httpd.conf via Webmin,
> which for most
> > configs works fine (and is displayed in phpinfo(), the sendmail
> changes are
> > never displayed (always shows sendmail_path =
displayed (always shows sendmail_path = /usr/sbin/sendmail).
Cheers
George
> -Original Message-
> From: Jochem Maas [mailto:[EMAIL PROTECTED]
> Sent: 22 February 2006 7:01 pm
> To: George Pitcher; [php] PHP General List
> Subject: Re: [PHP] Problem with mail() on Debian
>
Hi,
I am in the process of moving from Windows (NT/XP) to Linux. I'm starting
with a new small application which I have working on my Windows XP laptop.
On my Linux box, I have php.ini saying:
sendmail_path /usr/sbin/sendmail
That 'sendmail' is a symbolic link to exim4 in the same directory. I
uring pear.
Cheers
George
> -Original Message-
> From: Richard Lynch [mailto:[EMAIL PROTECTED]
> Sent: 14 February 2006 11:56 pm
> To: George Pitcher
> Cc: php-general@lists.php.net
> Subject: RE: [PHP] Problem with php.ini and include_path
>
>
> http://p
> George Pitcher wrote:
> > Hi,
> >
> > I have compiled php-5.1.2 with apache on Debian and have a
> problem with the
> > include_path.
> >
> > My configure was './configure' '--with-mysql' '--with-pear'
> '--with-a
Hi,
I have compiled php-5.1.2 with apache on Debian and have a problem with the
include_path.
My configure was './configure' '--with-mysql' '--with-pear' '--with-apxs'
'--with-config-file-path=/usr/local/lib'.
php.ini is in '/usr/local/lib' and phpinfo tells me that php.ini is in
'/usr/local/lib
Does your text get truncated or turned into hash '#' signs?
I know that Excel has some limits regarding how many characters will go into
a text column.
There is also a 64k row limit as well, but most sane people wouldn't use a
spreadsheet to handle such a dataset.
George
> -Original Message
nt: 20 January 2006 2:54 pm
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] problem encountered with stristr-based function
>
>
> George,
>
> George Pitcher wrote:
> > For info, I am trying to highlight search terms in results.
>
> If you're searching
Hi,
I'm having a problem with the following function:
function terms($term,$field){
if(strlen($term)>0){
if(!stristr($term, $field) === FALSE) {
$output = str_replace($term, "".$term."", $field);
} elseif(!stristr(strtolower($term), $field) === FALSE) {
$output = str_replace
Mathijs wrote:
> Is there a way to have include() be case-insensitive?
If you are know that all your file and directory names are lower case, but
users may input mixed case responses that will be used to determine the
include, you can set the case of the user input to lower case with
strtolower()
Ah, Michelle, but think of the problems getting dressed
(http://spysports.net/blueshirt.wmv). No offense!
george
> -Original Message-
> From: Dan McCullough [mailto:[EMAIL PROTECTED]
> Sent: 20 December 2005 2:39 pm
> To: php-general@lists.php.net
> Subject: Re: [PHP] Re: asianwhiteskin b
I've used Dreamweaver MX, working with 9 remote sites, shared between IIS
and Apache.
George
> -Original Message-
> From: Jeff McKeon [mailto:[EMAIL PROTECTED]
> Sent: 6 December 2005 2:15 pm
> To: php
> Subject: [PHP] What software do you use for writing PHP?
>
>
> Hey all,
>
> Forever n
I grabbed the following from a web-published article (sorry, can't remember
where):
function validate_email($email) {
if(preg_match("/^( [a-zA-Z0-9] )+( [a-zA-Z0-9\._-] )*@( [a-zA-Z0-9_-]
)+(
\.[a-zA-Z0-9_-] +)+$/" , $email)){
list($username,$domain)=split('@',$email);
> >
> > It means that you have two colons not being used correctly
>
> its a good thing this mailinglist is not about the practice
> of medicine ;-)
>
If it was, I suppose you would recommend 'colonic irrigation' then? Twice,
perhaps?
George
--
PHP General Mailing List (http://www.php.net/)
To
7;wsdl');
$rate = $curr_client->call('getRate' ,$param);
The ends justified the means, though I am still using SimpleXML to parse my
Copyright Clearance Center processes.
Cheers
George
> -Original Message-
> From: Jochem Maas [mailto:[EMAIL PROTECTED]
>
Hi,
I'm having a problem reading an xml feed. This is my object:
SimpleXMLElement Object (
[Header] => SimpleXMLElement Object (
[ID] => FX12GB
[Test] => false
[Name] => Foreign Exchange United Kingdom Pound Noon Rates
[Prepa
Hi,
My dev machine has PHP 5.1RC installed (no problems so far, apart from
this), its on Win XP. My server is running PHP 5.0.4 on Win NT.
I'm building some MS Word docs and it works fine except when I need to add
something that uses more than one parameter - eg.:
$word->Selection->ParagraphForm
Hi,
> if (isset($add)) {
> $pakora++;
> setcookie("cookie[pakora]", "$pakora Pakora");
> }
If I'm not mistaken, you also need to be sure that you are writing your
script to html/display and not redirecting to another page after the cookie
has been set - as redirecting will not write t
Jay,
> I have started searching around for VBScript to PHP converters and was
> hoping that the group might have some recommendations. My new position
> places me squarely into the middle of a Windows shop and one of
> the reasons
> that they wanted me here was to help them take the steps to the
>
> I want to get the name of current page. I use $PHP_SELF or
> SCRIPT_FILENAME, but it also provides the path name . I just want to
> retrieve the file name with extension. How can I do that?
>
$_SERVER['SCRIPT_NAME'] and $_SERVER['ORIG_SCRIPT_NAME'] will give you the
current filename without the
Hi,
I think that I may have messed up my php (v5.0.1).
Earlier today, I downloaded the most recent extensions and replaced my
php_pdf.dll (aug 2004)with the most recent (Mar 2005) - set the permissions
to be the same as the other extensions - then restarted the machine.
I'm now getting an error:
For IIS, where you have defined your index.html as a default page, you laso
need to define index.php as well. To to this, open the 'Properties' for your
website in the IIS Admin tool, click on the 'Documents' tab and its
straightforward from there. You need to do this for each site.
George
>
> [snip]
> I seem to be having trouble with \n and \r in variables. I write my
> code on a linux box, and the server is linux. So I should always have
> \n\r, no? Is there a way the I could print $variable; and have it show
> me the /n and /r 's ? I tried with a srt_replace() on /n and on /r,
> but
Mark,
Just to let you know that it did the trick.
Cheers
George
> -Original Message-
> From: Mark Rees [mailto:[EMAIL PROTECTED]
> Sent: 19 August 2005 9:42 am
> To: php-general@lists.php.net
> Subject: [PHP] Re: setting 'sendmail_from' on windows
>
>
Mark,
Thanks, I'll have a look at that over the weekend.
Cheers
George
> -Original Message-
> From: Mark Rees [mailto:[EMAIL PROTECTED]
> Sent: 19 August 2005 9:42 am
> To: php-general@lists.php.net
> Subject: [PHP] Re: setting 'sendmail_from' on wi
Hi,
I am sending emails out from php using a variety of 'From addresses',
depending on who is logged on. I would like bounced messages to go directly
to the sender, but they are not. I suspect that this is because in php.ini,
I have to set the 'sendmail_from' to a specific address.
Can anyone sug
and are we talking about metric doohickies or imperial ones? No point
getting the wrong type.
George
> -Original Message-
> From: John Nichel [mailto:[EMAIL PROTECTED]
> Sent: 18 August 2005 2:33 pm
> To: php
> Subject: Re: [PHP] how to clear cache content in IE using php
>
>
> Jay Blanch
t on PHP site maintenance
>
>
> ""George Pitcher"" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > John,
> >
> > Thanks for the input. I just knew I hadn't covered everything. My server
> is
> > currently set up a
5 pm
> To: php-general@lists.php.net
> Subject: Re: [PHP] Advice sought on PHP site maintenance
>
>
> George Pitcher wrote:
> > Hi,
> >
> > I manage several sites for my company. Some are running our own
> service to
> > about 80 customers and others are
Hi,
I manage several sites for my company. Some are running our own service to
about 80 customers and others are running a service for some (5 and growing)
of our customers. Its the latter one that I need advice on.
I have an application where each customer has a website on our service. The
funct
> Not only that, but as time goes by, community support (this list for
> instance) for 4 will likely diminish as others move on to later releases.
> Not only will the die-hard PHP4 users find it harder to get
> answers to their
> questions, but their answers to others will become less relevant to
>
Just out of interest, how is the restart going to authenticate itself to get
up and running?
I used to do something like this between two servers - but the were Macs and
I was using Frontier and it did work, but not without the odd mishap.
If you just want to do it remotely (without recourse to P
Hi,
My main site allows authenticated users to insert bibliographic data into
our database. We ask them to start by putting in an ISBN or ISSN. Some
documentes don't have them, or the use is too lazy to look for them. Rather
than them entering jibberish, we first check that if they have entered
so
Before I get too deep in building something, has anyone done any
devel;opment on a soap client for the USA Copyright Clearance Center's
Gateway webservice?
MTIA
George in Oxford
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You need to define 'normal mailing list'. I'm on about 20 different lists
and only one of them has a default of 'reply to all'.
George
> -Original Message-
> From: Andrew Scott [mailto:[EMAIL PROTECTED]
> Sent: 1 July 2005 3:22 pm
> To: 'John Nichel'; php-general@lists.php.net
> Subject:
I never managed to get this working with IIS. I could with Apache (win)
though, after making sure that Apache was logged in as the administrator.
George
> -Original Message-
> From: Mikey [mailto:[EMAIL PROTECTED]
> Sent: 1 June 2005 7:54 pm
> To: php
> Subject: Re: [PHP] Copy to network
. I do use it to parse an Excel file that we
receive in a predefined format.
Cheers
George
> -Original Message-
> From: Rory Browne [mailto:[EMAIL PROTECTED]
> Sent: 26 May 2005 2:47 am
> To: Jochem Maas
> Cc: George Pitcher; php-general@lists.php.net
> Subject: Re: [P
Hi,
I currently create my multipage docs by saving my word templates as chunks
of rtf and then calling them as required as a very long string then
outputting them to an rtf file and renaming it as '*.doc'. It works great
except for the filesize which comes out at 900k for a two-page document.
Open
Noticed that there was still something missing in this:
$sql = "select User_name, User_pass from user where User_name =
'$_POST['user_id']' and User_pass = '$_POST['user_pass']'";
Quotes around the POST Args.
George
> -Original Message-
> From: eoghan [mailto:[EMAIL PROTECTED]
> Sent:
Hi,
I have a system running on my main server containg separate user and staff
interfaces to the same MySQL databases.
Part of my process involves spawning off pdf front covers to a local
directory, grabbing files from an archive on a networked pc and adding them
together to ftp back to the serve
nt with a while loop???
>
>
> On Sunday 08 May 2005 12:55, George Pitcher wrote:
> > Hi guys,
> >
> > I'm doing something dumb but I can't see it.
> >
> Actually you are doing many dumb things ;-)
>
> Please post your real code instead of pseudo. The
Hi guys,
I'm doing something dumb but I can't see it.
The basic premise is:
sql search of orders sorted by customer
set g_customer_id to ''
loop through resultset
if customer_id not same as last record's customer_id (g_customer_id)
get customer email details
set up message header if th
access
is!).
Cheers
> -Original Message-
> From: George Pitcher [mailto:[EMAIL PROTECTED]
> Sent: 2 May 2005 12:07 pm
> To: php-general@lists.php.net
> Subject: [PHP] Strange problem with DB queries
>
>
> Hi,
>
> I am encountering a strange problem with a po
Hi,
I am encountering a strange problem with a pop-up window. On my site, users
(very specialised, closed site with small numbers) have to click a link on
page x which pops up page y. Page x and y both contain pricing information
based on a functions.php include file. On page x, the data is being
Hi all,
I found the cause of the problem.
01 $zipfile = new zipfile();
02 $zipfile -> add_dir("dir/");
03 $inputpath = "C:\\Program Files\\Apache
04 Group\\Apache2\\htdocs\\egretgui\\includes\\invoices\\";
05 $outputpath = "C:\\";
06 $outfile = $outputpath."inv_".date("Y_m").".zip";
07 if ($handl
ndle, filesize($inputpath.$file));
$zipfile -> add_file($filedata, "dir/".$file);
}
}
}
$fd = fopen ($outfile, "wb");
$out = fwrite ($fd, $zipfile -> file());
fclose ($fd);
========
G
r info, my server is NT4 and I'm using PHP 5.0.2.
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
Ingenta: Tech
> I know that PHP under windows is intended to be used only as test
> platform, but this is not enough to convince him.
>
Errr ... says who?
I'm out of a job here if this is true as I'm doing quite a bit of PHP
development on NT/IIS with both MySQL and MS Access (not my choice, but a
clients).
I'
Would it not make sese to store the number as a decimal and have the '£'
added at output?
George, in Oxford, where £££=pints
> -Original Message-
> From: David Nicholson [mailto:[EMAIL PROTECTED]
> Sent: 22 July 2003 3:51 pm
> To: David Goodchild
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PH
Here's my register globals off version:
Make sure that your form send a post with the highest index value [howmany].
$howmany=$_POST['howmany'];
for ($index = 1; $index < $howmany; $index++){
$checkbox = 'checkbox'.$index;
$checkbox= $_POST[$checkbox];
... Repeat for your
Sorry guys,
I wasted your time if you looked at this.
The local.php as copied from my local machine and had 'localhost' as the
base url rather than the proper web address.
Meet Dumbererer!
George
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
Hi,
I' running a self-registration script. On the login page are 2 fields:
'username' and 'paswd'.
The contents are checked against a db.
New users must enter 'new' and 'user' into these fields and that will skip
the db check and dump them into a registration page.
On testing (after it worked f
Mike,
Just a thought - are you outputting any HTML on the page where you are
declaring your cookie?
If not, then it won't work.
I got stuck a few months back with a filter script where someone logs in and
depending on who they were were redirected to various pages. I was decalring
their cookies
Hi,
I'm developing a mini-website for a customer and want to build a link so
that there is the option to see what I have in a database on my site.
It will feature in a form and when they fill in the ISBN field, their input
is added to a URL link on that page. The user can click on the link and s
RTF is the way to go.
If you know what you want your word doc to look like, set it up in Word, or
whatever will save a formatted rtf file (Sorry, I'm Windows/Mac based, but I
presume that Open Office etc will do this on Linux).
I insert placeholders into the document where I want to put dynamic
1 - 100 of 168 matches
Mail list logo