[PHP] using passthru or system() even and passing the $_FILES array

2011-09-28 Thread Anton Heuschen
Good day, I have a question and something that either does not work, or I have not gotten it to work the way I want to. I have a start page, which is a form, that takes 2 text fields and also a Attachment field. Then it calls the first page, which is supposed to spawn of a call to another page (I

Re: [PHP] Remove blank lines from a file

2010-05-21 Thread Anton Heuschen
On 21 May 2010 15:16, Ashley Sheridan wrote: > On Fri, 2010-05-21 at 14:03 +0200, Anton Heuschen wrote: > > Hi Im trying do something like this, have a function which uploads my > file and returns file pointer ... but at same time ... I want to > remove all Blank lines in a fil

[PHP] Remove blank lines from a file

2010-05-21 Thread Anton Heuschen
Hi Im trying do something like this, have a function which uploads my file and returns file pointer ... but at same time ... I want to remove all Blank lines in a file and update it before it goes to the final location ... What I tried was to do a write of file and use some regexp replace to remov

[PHP] Good SQL builder class

2009-12-04 Thread Anton Heuschen
Good day. I'm looking for a good class to handle building dynamically from and array (and if it is good it will automatically determine / or even have different methods) to handle mutli-dimensional arrays or simple associative arrays ... and build the SQL statement : for example I have an array :

Re: [PHP] Using remote include config file and class in a local file

2009-11-03 Thread Anton Heuschen
Hmmm yes thats another way of doing it ... Im running a Ubuntu box ..so its quite possible (how will you mount if your on XP?) 2009/11/3 Devendra Jadhav : > You can you NFS to mount remote file system on your local system. > > On Tue, Nov 3, 2009 at 2:50 PM, Anton Heuschen wrote:

Re: [PHP] Using remote include config file and class in a local file

2009-11-03 Thread Anton Heuschen
t of that script is > nothing. > > If you want to see the output just put http://200.200.1.1/Folder/Config.php > in browser and check. > > btw what exactly you want to achieve by including external config file? > > On Tue, Nov 3, 2009 at 2:05 PM, Anton Heuschen wrote: >

[PHP] Using remote include config file and class in a local file

2009-11-03 Thread Anton Heuschen
Question is wrt to including a config file on an external server in a local include Lets say that on 127.0.0.1 I have test.php with include http://200.200.1.1/Folder/Config.php $obj = new RemoteClass() do stuff and on server 200.200.1.1 I have my Config.php file which is contains the class Re

[PHP] Freeing Memory

2009-07-30 Thread Anton Heuschen
How would you go about ensuring the memory is not exhausted when running a script ? I have a script, which to make it basic ... reads values from files, I create an array of values per file then with a foreach insert values into a table, I have added a line to echo the memory use after each array

[PHP] Scope of Variables and use of global and this->var

2009-07-14 Thread Anton Heuschen
This is just a general question, I am not 100% on when to use global $var , and $this->var and how/what about the GLOBAL vars Lets say I have one file I call config.php here I connect to the db, to ldap etc the connection "var" I can then use in a file on its own ... obviously aft

[PHP] Echo result in a loop on each instance

2009-06-23 Thread Anton Heuschen
I have a question regarding echo of a var/string in a loop on each instance A shortened example: Lets say I have an array of values (rather big), and then I loop through this array: for or foreach : { $value = $arrValAll[$i]; echo "test".$i."--> ".$value; } When the script runs it will

Re: [PHP] Pointers for NuSOAP

2009-06-22 Thread Anton Heuschen
gramming with NuSOAP Part 2: http://www.scottnichol.com/nusoapprog2.htm > Programming with NuSOAP Using WSDL: > http://www.scottnichol.com/nusoapprogwsdl.htm > > It's nice, and it has lots of working examples. > > Jonathan > > On Mon, Jun 22, 2009 at 11:02 AM, Anton Heus

[PHP] Pointers for NuSOAP

2009-06-22 Thread Anton Heuschen
Does anyone have any good links to basic and more advanced (and some examples) of NuSOAP and using this ? Would be appreciated to see some recommendations that might of helped others etc. Thank you in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

Re: [PHP] How to work with Webservices (.asmx) server

2009-03-11 Thread Anton Heuschen
help thus far ... now I feel depressed all of a suden ...miss the vibe - Holland rocks 2009/3/7 Phpster > If you're not Dutch you're not much! Holland rocks! > > From a fellow dutchie, > > Bastien > > Sent from my iPod > > > On Mar 11, 2009, at 4:47,

Re: [PHP] How to work with Webservices (.asmx) server

2009-03-11 Thread Anton Heuschen
e it would be something like this: > > $client = new SoapClient(null, array( >'location' => "http://localhost/WebService/GetData.asmx";, >'uri' => "http://localhost/WebService/";) > ); > > And if your webservice provi

[PHP] How to work with Webservices (.asmx) server

2009-03-10 Thread Anton Heuschen
I am confused with XML-RPC / SOAP and WSDL ... If you have a server with a script/file like test.asmx and some web services ...below example of service format : SOAP 1.2 The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values. -

[PHP] Assign 2 values from Mysql to an array

2009-03-06 Thread Anton Heuschen
This might sound trivial, but for the live of me cant seem to get it to work, and I am not familiar with such a thing. What I have is a query lets say : select country,name,population from USERS where id= 'some_id' "; Now I want to assign the result to one set (The above example might have 3+

[PHP] Free XML and WDL classes/scripts

2009-02-18 Thread Anton Heuschen
What are some good php classes/scripts to work with: Parsing XML data/files. Building SOAP/WDML (Im not too familiar with this so still trying to work it out) So far, I have a class from : PHP WSDL Generator - Version 1.1.0 b http://www.protung.ro Basically what I need to do is connect to/se