Re: [PHP] parallel execution of php code?

2005-08-09 Thread Marcus Bointon
this. Since MySQL 4.1 I've changed it to something like: INSERT INTO mytable SET id = 123, bla = '$x' ON DUPLICATE KEY UPDATE bla='$x' This saves you a query, and makes it easier to isolate the insert/ update as it will play nicely with autocommit. Marcus -- Marcus Bointon Synchromedia

Re: [PHP] Fast count of recordset in php...

2005-08-07 Thread Marcus Bointon
by then asking: $sql = SELECT FOUND_ROWS(); Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DEV] Re: [PHP] Exceptions: function x throws Exception

2005-08-06 Thread Marcus Boerger
Hello Jochem, lookup the archieves. We have long ago decided agains that. marcus Friday, August 5, 2005, 2:26:04 PM, you wrote: Dear Internals, class FooBar { public function foo() throws Exception {} } function fooFoo() throws Exception {} this came up on php-generals and I

Re: [PHP] Regex help

2005-08-03 Thread Marcus Bointon
here: http://www.hexillion.com/samples/#Regex Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] function with argument of type array

2005-07-29 Thread Marcus Bointon
type hinting, so they HAD to implement it for objects so that catch clauses could work properly. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] time()

2005-07-29 Thread Marcus Bointon
); Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Multipage form redux

2005-07-28 Thread Marcus Bointon
to you abandon and resume later (unless you get clever with JS and cookies). For keeping data in a session, you could combine this approach with Ajax: http://particletree.com/features/smart-validation-with-ajax Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL

[PHP] Class constants

2005-07-28 Thread Marcus Bointon
::BAR) { echo $a; } } In this case $this-thing will be undefined, but wibble() will get the correct default value for $a. Comments? Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List

Re: [PHP] function with argument of type array

2005-07-28 Thread Marcus Bointon
$foo){ There is no way to do that. What you _CAN_ do, to ensure you're getting an array is: There IS a way to do exactly this. It's called type hinting and it's a PHP 5 feature: http://www.php.net/manual/en/language.oop5.typehinting.php Marcus -- Marcus Bointon Synchromedia Limited

Re: [PHP] Multipage form redux

2005-07-28 Thread Marcus Bointon
within a session may go to different servers, so file- or memory-based sessions are not much use. Despite this, I also suspect that sessions may not be the way to go. User authentication and management is not a synonym for sessions. Marcus -- Marcus Bointon Synchromedia Limited: Putting you

[PHP] Calling methods in returned SOAP objects

2005-07-27 Thread Marcus Bointon
on earth do I do that in PHP? I don't think that creating PHP classes and using classmap will help (it just moves the problem), at least partly because this is a dynamic WSDL that is subject to change. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http

[PHP] iconv trouble on OS X

2005-07-21 Thread Marcus Bointon
at least someone can find out easily. Marcus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Tracking a mobile phone

2005-07-20 Thread Marcus Bointon
(especially directions and local maps) that are currently being pushed in the UK. Whether you can get access to that information is another matter, especially internationally. Marcus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Overriding __soapCall

2005-07-14 Thread Marcus Bointon
. If I call it manually (i.e. non-WSDL way), something like: $sc-__soapCall('login', array('username' = 'abc', 'password' = 'xyz')); then it works, but in that simple gesture I've lost most of the WSDL advantage. What am I supposed to do? Marcus -- Marcus Bointon Synchromedia Limited

Re: [PHP] Overriding __soapCall

2005-07-14 Thread Marcus Bointon
On 14 Jul 2005, at 16:07, Marcus Bointon wrote: I've found various references to overriding the __call function (which is now completely obsolete as it clashes with a magic method) for the same kind of reason that I need to. So, it seems as if __soapCall is NOT called internally when

Re: [PHP] Compilation trouble on OS X

2005-06-13 Thread Marcus Bointon
some fink packages like apache2, JPEG, PNG, etc) and I'm still getting the ld problem I mentioned. Think I may have to report it as a bug and see what comes of that. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk

Re: [PHP] Compilation trouble on OS X

2005-06-13 Thread Marcus Bointon
On 13 Jun 2005, at 10:52, Marcus Bointon wrote: I just tried compiling on a clean install of 10.4, with a clean install of fink (I'm using some fink packages like apache2, JPEG, PNG, etc) and I'm still getting the ld problem I mentioned. Think I may have to report it as a bug and see what

Re: [PHP] Making a page loop with header('Location: ...

2005-06-10 Thread Marcus Bointon
for days at a time. This article I wrote might help: http://www.experts-exchange.com/Web/Web_Languages/PHP/Q_20977409.html Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net

Re: [PHP] Beautiful HTML Invoice - Prints like crap! I need somesuggestions!

2005-06-09 Thread Marcus Bointon
/articles/printyourway/ http://www.alistapart.com/articles/goingtoprint/ Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Compilation trouble on OS X

2005-06-09 Thread Marcus Bointon
extensions I need. There are no bugs posted on the PHP tracker that match these errors, so it's clearly not a common problem. Any ideas what might be broken, and how I might fix it? Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http

Re: [PHP] Compilation trouble on OS X

2005-06-09 Thread Marcus Bointon
with this. PHP's build system is completely independent of XCode. PHP uses normal Unix-type tools such as gcc, make, ld, libtool, autoconf etc. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List

Re: [PHP] Compilation trouble on OS X

2005-06-09 Thread Marcus Bointon
rather than a compiling problem (i.e. the problem occurs after gcc has finished successfully). It seems that the OS X ld has different options to the GNU or BSD implementations, so I guess I'm really after someone that knows ld well enough. Marcus -- Marcus Bointon Synchromedia Limited

Re: [PHP] PHP 5 Question about OO

2005-06-02 Thread Marcus Bointon
' in a global context is not really anything wildly different in style to say ini_set or error_reporting. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] PHP 5 Question about OO

2005-06-02 Thread Marcus Bointon
talking hypothetically anyway as we don't have autoload methods at present). This thread is meant to be about how to improve automatic include file location - saying not to try to do it at all is not very helpful. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture

Re: [PHP] [Files suffix] .inc.php files

2005-06-01 Thread Marcus Bointon
to deployment - you can just stick all your files in one place, and it will work without risk. Another simple approach is to put all your included files in a directory that contains a .htaccess file to prevent direct access to them. They can still be included from your PHP scripts. Marcus

Re: [PHP] PHP 5 Question about OO

2005-06-01 Thread Marcus Bointon
, the file system you're on probably is, so keep your case consistent throughout. Docs are here: http://www.php.net/manual/en/language.oop5.autoload.php Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing

Re: [PHP] PHP 5 Question about OO

2005-06-01 Thread Marcus Bointon
method like __construct, so that a class would attempt to run its own autoloader before breaking out to the global function namespace. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http

Re: [PHP] xml

2005-05-31 Thread Marcus Bointon
,..., read its contents and put it in an associative array. You have described exactly what the pear config package does: http:// pear.php.net/package/config/ Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General

[PHP] Plugin systems

2005-05-31 Thread Marcus Bointon
mechanism. Does this sound like a solid structure and mechanism? Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php + cvs

2005-05-31 Thread Marcus Bointon
with. Consensus seems to be that if you're just starting out in version control, go straight to svn so you can skip all the reasons that made them want an upgrade from cvs! Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk

Re: [PHP] php + cvs

2005-05-31 Thread Marcus Bointon
would any other webdav file system. I guess you could check out a version remotely, then mount that area via webdav. Not sure what you'd gain though. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General

Re: [PHP] Plugin systems

2005-05-31 Thread Marcus Bointon
a plugin might do - I only need to define the different plugin interfaces (which can be very strict) that it might conform to - implementation is wide open. I'd welcome a discussion of plugin mechanisms generally... Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL

Re: [PHP] php + cvs

2005-05-31 Thread Marcus Bointon
a checkout to this directory'. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to confirm subscriptions by e-mail on a PHP site ?

2005-05-20 Thread Marcus Joyce
adding %s's and mysql_real_escape_strings to it but you get the picture) then from the data i got, i did if($row_is_returned) { update users set registered=yes WHERE userID = $_GET['user']; } and that was it. Marcus Mário Gamito wrote: Hi, I'm making this middle-range site (i. e., not so little

[PHP] PHP5 binaries

2005-05-20 Thread Marcus Bointon
repositories PHP5 is a rare beast - for example rpmforge's members don't include it. rpmbone provides some very basic rpms, but they suffer from dependency problems (even when accessed via apt-get). Any other ideas? Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-17 Thread Marcus Joyce
Why dont you check that data isnt being duplicated? $query = SELECT auto_col FROM table where col1 = $var1 col2 = $var 3.; $call_query = mysql_query($query,... $query_data = mysql_assoc($call_query); if(!$query_data) { do form } else echo information already exists in database;

Re: [PHP] Seeking decent domain registrar

2005-05-16 Thread Marcus Bointon
it harder is not a consideration. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Seeking decent domain registrar

2005-05-13 Thread Marcus Bointon
On 13 May 2005, at 01:11, Richard Lynch wrote: On Thu, May 12, 2005 3:40 am, Marcus Bointon said: Multilingual domain support e.g. café.com Er. Maybe they changed the rules, but I don't think that's a valid domain name AT ALL. So maybe the reason you are having trouble is you are looking

[PHP] Seeking decent domain registrar

2005-05-12 Thread Marcus Bointon
been googling for registrars, but as yet I've not found anyone that offers all this. Can anyone recommend a registrar that has a clue and a decent web interface? Thanks, Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk

Re: [PHP] Re: Valid email address syntax script?

2005-05-04 Thread Marcus Bointon
]\d|25[0-5])\.){3}(?:[01]? \d{1,2}|2[0-4]\d|25[0-5])\]))$/', $email); I got it from here - they have some more and some commercial products that go further: http://www.hexillion.com/samples/#Regex Marcus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Mac OS X compilation problem

2005-04-27 Thread Marcus Bointon
that are not supported in any of the pre-built fink PHP5 packages, and I'm used to compiling it without difficulty on Linux and OpenBSD. Anyone else run into this or have any idea how I might fix it? Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http

Re: [PHP] Why not @ ?

2005-03-22 Thread Marcus Joyce
mailto:[EMAIL PROTECTED] would be broken. Marcus Joyce Mário Gamito wrote: Hi, If you care to take a peak at http://www.dte.ua.pt/cv/ and pass your mouse over the link Mário Gamito, you'll see in the status bar that the link is: http://www.dte.ua.pt/cv/[EMAIL PROTECTED] Allright. However, if you

[PHP] Re: [PHP-DEV] PHP Extensions Pass-By-Reference

2005-02-25 Thread Marcus Boerger
Hello Chris, you need to define that signature of your functions by supplying ZEND_ARG_INFO's to them. look at ZEND_API.h file for those macros. marcus Friday, February 25, 2005, 2:22:39 AM, you wrote: I have a PHP_FUNCTION() defined in my PHP extension. How am I suppose to pass variables

[PHP] strtotime time zone trouble

2005-01-18 Thread Marcus Bointon
and 5. Named time zones like these are supposedly deprecated, but the suggested alternative in the docs doesn't work at all: print date('Y-m-d H:i:s', strtotime('now UTC-0800')).\n; 1970-01-01 00:59:59 using 08:00 doesn't work either Ideas? Marcus -- Marcus Bointon Synchromedia Limited: Putting you

Re: [PHP] strtotime time zone trouble

2005-01-18 Thread Marcus Bointon
calculations (assuming that locale data is correct on the server). Let me rephrase the question - how can I get the current time in a named time zone using strtotime and without using a numeric offset? Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http

Re: [PHP] oop too slow

2004-08-19 Thread Marcus Bointon
(hidden inside the factory class, which does NOT call the product class in the same way!). The next problem is keeping your product_factory and product classes in sync - I'm sure there must be a nice pattern to deal with that somewhere. Marcus -- Marcus Bointon Synchromedia Limited: Putting you

[PHP] PHP 5 - $_REQUEST undefined???

2004-08-08 Thread Marcus Bointon
in the process of upgrading from PHP4 to 5, and this script works ok in 4 - the error is just in 5. Any ideas? Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net

[PHP] Creating a PHP5 RPM

2004-07-27 Thread Marcus Bointon
. However, I have no idea how to do this - can anyone give me some pointers? Is it as simple as adding a configure switch like --build-rpm? Thanks, Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List

[PHP] mysql and mysqli

2004-07-27 Thread Marcus Bointon
of mysql from official RPMs, except for devel and shared modules which I compiled from the source RPM (These 4.1.13 binary RPMs are hard-wired to OpenSSL 0.9.6 so you can't use them on any recent OS). Any ideas to fix this? Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture

Re: [PHP] If...Or...Else

2004-07-24 Thread Marcus Strube
?php if ((condition1 == TRUE) OR (condition2 == TRUE)) { do something; } esle { do something else; } ? What's the correct syntax for the If line? if(true == condition1 || true == condition2) { echo Hello World; } else { echo Best Regards; } -- PHP General

[PHP] Preventing static method calls in PHP4

2004-07-22 Thread Marcus Bointon
that this problem goes away in PHP5, and that the setting of $this in static calls from other instances is not a bug (though it's the root of this problem)! Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing

Re: [PHP] Re: Preventing static method calls in PHP4

2004-07-22 Thread Marcus Bointon
- it is exactly the case that fails in my example. $this IS set in a static method that's called from any object instance (even one of a different class), and it's a PHP feature, not a bug. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http

Re: [PHP] run perl script with php

2004-07-22 Thread Marcus Bointon
/function.exec.php http://uk2.php.net/manual/en/function.passthru.php E.g. system('myperlscript.pl'); Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Trouble with sin()

2004-07-22 Thread Marcus Strube
Hi, i'm working with PHP 5.0.0 (Linux) and have some trouble using function sin(). In PHPs opinion sin(20) is 0.912945250728 I have had a look at the bug.php.net, but couldn`t find anything. Is it a bug or am I just misunderstanding something?? Marcus -- PHP General Mailing List (http

Re: [PHP] Trouble with sin()

2004-07-22 Thread Marcus Strube
Thanks a lot. I've overseen a word in the manual. Now i got it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTML numeric string

2004-07-21 Thread Marcus Strube
Am Mittwoch, 21. Juli 2004 11:36 schrieb Koriun A. Margarian: Hello how to convert HTML numeric string like #1394;#1377;#1378;#1377;#13 to original text ? -- Best regards, Koriunmailto:[EMAIL PROTECTED] $dirty_data $search4[0] = /,/; $search4[1] = /A/;

[PHP] Preventing static method calls in PHP4

2004-07-21 Thread Marcus Bointon
, and that the setting of $this in static calls from other instances is not a bug (though it's the root of this problem)! Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Zend Enc and 0T Q

2004-07-21 Thread Marcus Bointon
as encoding. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Form Field Validation

2004-07-19 Thread Marcus Strube
If (formfieldname = empty()) [snip] $value = 0; if(true==empty($value)) { echo it's empty; } [/snip] May be good to know. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Optimize simple file XOR code

2004-06-24 Thread Marcus Johansson
echo $data; } } My guess is that if one should start optimizing the code anywhere, it would be within the for-loop. Any ideas? Thanks in advance! Regards, Marcus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Optimize simple file XOR code

2004-06-24 Thread Marcus Johansson
! -- Marcus -Original Message- From: Marcel Tschopp [mailto:[EMAIL PROTECTED] Sent: den 24 juni 2004 13:37 To: [EMAIL PROTECTED] Subject: Re: [PHP] Optimize simple file XOR code Hi Marcus Try this: function CryptFile($hash, $filename) { // The key used is generated using another

Re: [PHP] session.use_trans_sid = 0 does not work!!!

2004-06-13 Thread Marcus Merz
(session.use_only_cookies,1); If this is not an option and you still want to not have session id's appended when a searchengine robot comes to your site, you could detect the UA and just do not start a session in that case. James Regards, Marcus -- PHP General Mailing List (http://www.php.net

AW: [PHP] Help with PNG creation script

2003-12-31 Thread Marcus Wendt
I'd definitivly suggest you NOT to use this database-pointer approach! Instead of simply sending that .png-header once you could store the image in a physical file by using an unique ID based on the functions arguments. Later on just check if a file with this ID exists and return its URL instead

Re: [PHP] PHP - MySQL Query...

2003-08-14 Thread Marcus Edvardsson
I'm used to do like this: $query = 'SELECT * FROM cities'; $result = mysql_query($query); if($row = mysql_fetch_array($result)) do { echo ('tr td class=city' . $row[0] . ', ' . $row[1] . '/td td' . $row[2] . '/td td' . $row[3] . /td /tr\n); } while ($row = mysql_fetch_array($result));

[PHP] Reading mail with PHP?

2003-08-14 Thread Marcus Edvardsson
in those or should I use PEARs classes like http://pear.php.net/packages.php?catpid=14catname=Mail Marcus - Sweden -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Bug or just a strange behaivor?

2003-07-09 Thread Marcus Hufvudsson
/local/jail/apache/bin/php -v PHP 4.3.1 (cli) (built: Apr 2 2003 11:25:25) Copyright (c) 1997-2002 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies So... anyone know what's up? -- Marcus Hufvudsson Artech administrator Office: +46-500-427788 Email: [EMAIL PROTECTED

[PHP] Trouble reading POST data that is not associated with a value.

2003-06-27 Thread Marcus Akre
. (And next two weeks. :) Best regards Marcus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] str_replace() problem

2003-03-31 Thread Marcus Rasmussen
); _ Marcus Rasmussen [EMAIL PROTECTED] www.marcusr.dk - On 31-03-2003 at 13:52 René Fournier wrote: - I am performing a str_replace() on a large string, and everything works

Re: [PHP] global var.

2003-03-31 Thread Marcus Rasmussen
Putting an sign in front of the $id in the first line should do the trick: $variable = $id; A short example: $bar = 0; $foo = $bar; $bar = 2; print $foo; //prints 2 __ Marcus Rasmussen [EMAIL PROTECTED] www.marcusr.dk

RE: [PHP] parse_str()

2003-03-31 Thread Marcus Rasmussen
This should work: parse_str($example_string, $_GET); ___ Marcus Rasmussen [EMAIL PROTECTED] www.marcusr.dk - On 01-04-2003 at 03:20 Jose wrote: - I might

[PHP] Re: [PHP-DEV] PHP Look Back 2002

2002-12-31 Thread Marcus Börger
an even better 2003 for all of us. marcus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] w32api Functions

2002-12-10 Thread Marcus Fazzi
Where is w32_* function in PHP 4.3.0 RC2 ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] w32API where is?

2002-12-10 Thread Marcus Fazzi
Where is w32_* functions on PHP 4.3.0 RC2? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] w32api where is?

2002-12-10 Thread Marcus Fazzi
where is w32_* functions on PHP 4.3.0 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cant use w32API functions

2002-12-04 Thread Marcus Fazzi
I Cant use w32API functions ... my PHP is 4.3.0 RC2 over Win2K... and Apache 2.0.43... plz hlp! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and Apache

2002-12-04 Thread Marcus Fazzi
You need Apache 2.0.40 fo uses with PHP 4.2.3, for use with 2.0.43 use PHP 4.3.0 RC2 Excuseme my confussion, I meant PHP 4.2.3. So you suggest me PHP 4.2.3 and Apache 1.3.x?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DEV] php4.3.0-pre2 - win32 binaries

2002-10-28 Thread Marcus Börger
Could you tell something about compiling php under vc++.net? I tried this but wasn't able to (but did not tried it hard). regards marcus At 16:13 28.10.2002, [EMAIL PROTECTED] wrote: anyone can download for testing php-4.3.0-pre2 from: http://chat.italma.ru/php/ (compiled with vc++.net

[PHP] Q:What is the easiest way to test my PHP+Html pages?

2002-07-27 Thread Marcus Unlimited
and easiest path to open my .html pages with some php mysql in em. and see them as they will work on the web??? Thank you, -Marcus -- || Marcus Unlimited http://marcusunlimited.com Multimedia Internet Design and Education

[PHP] Re: Q:What is the easiest way to test my PHP+Html pages?

2002-07-27 Thread Marcus Unlimited
I guess I should reiterate; What is the easiest way to test locally (on my desktop) without having to upload? Thanks,-Marcus Tim Luoma wrote: Marcus Unlimited wrote: So what is the absolute simplest and easiest path to open my .html pages with some php mysql in em. and see them

Re: [PHP] Q:What is the easiest way to test my PHP+Html pages?

2002-07-27 Thread Marcus Unlimited
Hmm, .bat that is a new one for me, will I still be able to test my pages in regular windows browsers like IE and NN? -Marcus THANKS John Holmes wrote: Search on Google for PHPTriad or Firepages, or look on hotscripts.com or sourceforge. There are a couple packages out there that'll

Re: [PHP] Q:What is the easiest way to test my PHP+Html pages?

2002-07-27 Thread Marcus Unlimited
Wow hey sorry I missed that. Thank you, _Marcus [EMAIL PROTECTED] wrote: Marcus, A quote from my eMail YESTERDAY: There is a nice bundle for windows, it's perfect to test basic php/mysql stuff. it includes Apache, MySQL and PHP. You can find it at http://www.firepages.com.au/dev4.htm

[PHP] Installed PHP on home Win98se, now how can I get browser to see it?

2002-07-26 Thread Marcus Unlimited
in my browsers IE, NN just as it does when uploaded to my hosting co's servers? Thanks, -Marcus -- || Marcus Unlimited http://marcusunlimited.com Multimedia Internet Design and Education

[PHP] Who's having a good hosting experience these days?

2002-05-05 Thread Marcus James Christian
money folks but I need a PHP capable host for about $11ish or less a month. Traffic is minimal, and like I say the only tech support calls I've had to make this past year were when the hosting service tweeked and freaked something thus messing it all up. Thanks, -Marcus

Re: [PHP] Arrays in forms {?!}

2002-04-24 Thread Marcus Rasmussen
it. You can get more information at: http://www.php.net/manual/en/control-structures.foreach.php http://www.php.net/manual/en/language.variables.external.php _ Marcus Rasmussen - On 24-04-02

RE: [PHP] SQL Question

2002-03-28 Thread Marcus Rasmussen
You could do it this way WHERE column LIKE 's%' ORDER BY column Now you'll get all rows sorted and where column is staring with an 's' or 'S' - On 28-03-02 at 17:30 Sebastian A. wrote:

[PHP] How can I?

2002-02-17 Thread Marcus Ouimet
How can I unsubscribe to this list thanks in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: FIGURED OUTQ:Why is my code returning this? Help?

2001-10-25 Thread Marcus James Christian
Before anyone tries to hard to figure this out I looked over my code and fixed this. The answer was that I had more than one form on the same page calling to one php handler page, -Marcus Marcus James Christian wrote: Hello, As mainly a designer w/ HTML and JS php is usually just an end

[PHP] Q:Syntax for a space? ...like \n is for new line???

2001-10-25 Thread Marcus James Christian
Hello, How do you call for a space in an email put out by mail(); ? Similar to the way we call \n newlines with backslash n?? Thanks, Marcus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP] Q:Why is my code returning this? Help?

2001-10-24 Thread Marcus James Christian
swear a form element named xname is called in php via $xname ??? Please let me know what you see, -Marcus PS, I just ran phpinfo(); on my server and it looks like all the others that work. -- Marcus James Christian UNLIMITED Multimedia Internet Design http://mjchristianunlimited.com Proudly

Re: [PHP] Generating variable names 'on the fly'

2001-09-21 Thread Marcus Rasmussen
You can allso do like this: $i = 1; ${test. $i} = 123; echo $test1; ___ Marcus Rasmussen [EMAIL PROTECTED] On 21-09-01 at 11:21 _lallous wrote: you can always use eval to create a variable too! ? $i = 1; eval(\$test$i=123;); echo $test1; ? Neil Freeman

Re: [PHP] Easiest Automated mailing list concept?

2001-08-07 Thread Marcus James Christian
It's LINUX and I don't own the server I lease it from affordablehost.com Thanks, Marcus Justin French wrote: What platform is the server? Unix? Win98? It shouldn't be putting line breaks in. Do you have access to MySQL? If so, that may be a solution. Justin French Marcus James

[PHP] Q: Kill all line brk's and white space on output?

2001-08-07 Thread Marcus James Christian
works great! Thank you in advance my friends -Marcus -- Marcus James Christian -- UNLIMITED Multimedia Internet Design http://mjchristianunlimited.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: [PHP] Q: Hiding Folder Directories from public while still...

2001-08-04 Thread Marcus James Christian
Hmm so lets say in my images folder for the site if I just put an index somewhere in there it prevents access? Man that would be so cool. I really don't need some big security thing happening with .htaccess etc, that would be way overkill thanks, Marcus Jon Yaggie wrote: i dont know

[PHP] Q: Hiding Folder Directories from public while still...

2001-08-02 Thread Marcus James Christian
www.mysite.com/php/ and have all of my php files show up on a funky virtual directory. Thanks, Marcus -- Marcus James Christian - UNLIMITED - Multimedia Internet Design http://mjchristianunlimited.com Proudly presents the music of CHROMATICUS at http://chromaticus.com and http

[PHP] hash in php vs java

2001-07-20 Thread Marcus Hartmann
-BEGIN PGP SIGNED MESSAGE- Does anyone know which algorithm is used in java to generate hash code? I think it´s md5(hopefully), but I´m not certain about it... Thanx -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.8 for non-commercial use http://www.pgp.com

Re: [PHP] MySQL Query

2001-07-19 Thread Marcus Hartmann
the statement should look like this: $result = mysql_query(select * from table where type = 'Base' and x = 'x' and y = 'y'); Ryan Fischer [EMAIL PROTECTED] wrote in message 01d901c1101e$9cd43220$80c93fd0@ryan">news:01d901c1101e$9cd43220$80c93fd0@ryan... You wrote: I have a table that looks

Re: [PHP] MAIL to a Bcc: ???

2001-07-11 Thread Marcus James Christian
Sebastian, Thanks and do you know of a place where I can get a printed book of the actual PHP manual, already printed? I hate printing out those huge PDF files and I can't stand reading on screen directions while trying to learn them. Thanks, Marcus Sebastian Wenleder wrote: At 18:02 Uhr

[PHP] Mail Bcc to a $variable?

2001-07-11 Thread Marcus James Christian
== $password); { mail($to, $subject, $bodytext, $headers); }; ? So how do I get mail to Bcc a variable like $recipients? Recipients being a huge text file of hundreds of email addy's. -Marcus -- Marcus James Christian - UNLIMITED - Multimedia Internet Design http://mjchristianunlimited.com Proudly

Re: [PHP] Mail Bcc to a $variable?

2001-07-11 Thread Marcus James Christian
Like this... $headers = From: Me [EMAIL PROTECTED]\nBCC:$recipients\n; Or somewhere else? Thanks, Marcus Russell Chadwick wrote: Try a newline at the end of $headers -Original Message- From: Marcus James Christian [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 11, 2001 10:15

[PHP] Q: Best EZ Free Mailing List Manager?

2001-07-10 Thread Marcus James Christian
and paste etc.? Thanks, Marcus -- Marcus James Christian - UNLIMITED - Multimedia Internet Design http://mjchristianunlimited.com Proudly presents the music of CHROMATICUS at http://chromaticus.com and http://artists.mp3s.com/artists/275/chromaticus.html -- PHP General Mailing List (http

<    1   2   3   >