[PHP] Test
Test Message -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Suggestion on executing external programs from within php
maybe if you put Call1 and Call2 in seprate PHP files, and you call both of them. i guess it would work Ammar "John Clegg" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi > > I would like to be able to execute 2 system calls simultaneously. I am > not interested in the output and I would like to do the equivalent of a > fork as these programs take a long time. > > eg > > system('/usr/local/bin/process_file file1'); > system('/usr/local/bin/process_file file2'); > > Any suggestions on what to use??? > > Cheers > > John Clegg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: XML to PDF with XSL
If this is Possible, Please Tell me, i'm also very interested in this. Or if you know any method to 'find and replace' a string in a PDF file please also tell me e.g, i want to replace all occurnces of [name] with "John" From a PDF file on the server, when i open it ofcourse it won't have [name] as name, it encodes it. Regards "Aidan Lister" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Is this possible? > > I'm purely interested in PHP5 examples of transforming an XML file into PDF > using an XSL stylesheet. > > Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Looking for Advanced PHP Developers
Hello, I'm looking for advanced PHP Developers. the responsibilites will include the following: - Being able to architecture huge web applications ( 1 Million lines of code or bigger) - Ability to advise on how to control huge projects and help writing guidlines( CVS usage, documentation, coding styles.. etc) - Good RDBMS skills. - Strong PHP knowledge - OOP & design patterns methodolgies are a big plus. Full Time Job. Onsite. no contractors, online workers please. Also Senior Developers with 3+ years experience can apply. We'll send good offers to people who will be accepted, the offer includes housing. Please send your CVs to [EMAIL PROTECTED] Ammar Ibrahim CTO GNUIX -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Looking for Advanced PHP Developers
Stephen Allen wrote: On Thu, May 06, 2004 at 01:15:17AM +0200 or thereabouts, Richard Harb wrote: ... and onsite would be where ? Amman, Jordan I think. I wouldn't want to be a Caucasian over there working, at this point in time. I don't understand what you mean. Jordan is the one of the safest countries i have ever known. even when Iraq was being bombed, out life didn't change not even a bit. I have never been robbed. It's the safest and most secure country in the region. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: ColdFusion / SQL > PHP / mySQL HELP!
Tell your boss to get a life :) I'm working on converting a large web application from ColdFusion/MsSQL to PHP/MySQL. This web app is almost around 3 million lines of code :| I was wondering if there exists a tool similiar to ASP2PHP to convert ColdFusion code to PHP. But anyway, the way ColdFusion is used to write web sites makes writing this application extermely hard. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PDF and dynamic PNG
if nothing worked out, simply right the dynamic png to a temp file (e.g tempimg.png) then include this png file in your PDF document :) hope this helps, Ammar "Dominik Heeb" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I succeed in creating PDF files dynamically with PHP (including inserting > static PNG images), and also succeed in creating PNG images dynamically. > > However, I can't insert dynamically created PNG images into PDF files, > neither with pdf_open_image_file, nor with pdf_open_png. > > Is this impossible? > >D o m i n i k > > > Example: > > function putimage ($pdf, $fullfilename, $x, $y, $width) { > > // init > $extension = substr($fullfilename, strrpos ($fullfilename, ".")+1); > $pdfimage = pdf_open_image_file($pdf, $extension, $fullfilename); > > // define scale > $sourceimagewidth = pdf_get_value ($pdf, "imagewidth", $pdfimage); > $scale = $width / $sourceimagewidth; > > // put image > pdf_place_image($pdf, $pdfimage, $x, $y, $scale); > } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Zlib Compression || Implementation || Bandwidth Savings?
if this works for you, could you please post your story in the group. this is very interesting if you could save 50% of your bandwidth just by turning the zlib flag :) good Luck, Ammar "Cf High" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hey all. > > Having a good problem -- our hockey report site has jumped from 10 > gigs/month to 30+ gigs/month & growing. > > We're getting killed in bandwidth fees at the moment; barring switching to > another host, will utilizing ZLIB compression significantly reduce > bandwidth? > > Also, in terms of ZLIB settings, I've ini_set() zlib compression to ON. > > Additionally, do I need to ob_start() (& flush) page output? > > I am uncertain how to implement the following: > > example.php > > session_start(); > > ini_set("zlib.output_compression","ON"); > ini_set("zlib.output_compression_level",4); > > ob_start(); > > $page_contents = fopen(** read file contents to variable **); > > ob_end_flush(); > ?> > > Thanks for any advice, > > --Noah > > -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Adding one month to a given date
Use mysql's Date Functions. works like magic :) Good Luck, Ammar "Merlin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi there, > > I am trying to add one month to a given date. Somehow I am lost > inbetween mktime, date and unix timestamps ;-( > > Can anybody give me a hint on that? > > The date format I do have is: 2003-10-19 > > Guess this does not work: > $ptm = '2003-10-19'; > $ptm = 1 + mktime('YmdHis',$ptm); > > Thanx for any help, > > Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Question about php "forwarding" to javascript
I'm not sure i completely understand what you need but you could write dynamic Javascript using PHP e.g; $myString = 'hey dude, help me'; The code i wrote is really dumb, but trying to give you an example. hope this helps, Ammar "Peter Andersson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi! > > I am using a web page that uses the following php code to display the > contents of a dynamically update webpage: > > include("http://.../source.xls); > ?> > > Is it possible to "forward" the contents of the code to a javascript? > eg if the file "source.xls" contains the text "help me" is it possible to > send that text to a javascript? I am quite stuck here so any help would be > greatly appreciated. > > regards > > Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP charset encoding
Hello Nabil, Good to see you here :) I hope you solved the problem. anyway, i would like to make a comment about something: The Charset is defined in many places, If you are using HTML in the Tag Apache, PHP, Header(). you can use all these methods to specify the charset, what i suggest to use, is to get a network sniffer, or to get the "Live HTTP Headers" Plugin for firefox. Try to find out what is "EXACTLY being sent to the browser. Wish you best of Luck , Ammar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php