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
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
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
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
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
);
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
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
::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
$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
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
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
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
(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
.
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
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
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
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
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
/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
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
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
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
' 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
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
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
, 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
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
,..., 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
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
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
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
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
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
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
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
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;
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
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
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
]\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
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
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
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
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
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
(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
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
. 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
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
?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
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
- 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
/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
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
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
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/;
, 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
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
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
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
!
-- 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
(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
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
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));
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
/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
. (And next
two weeks. :)
Best regards
Marcus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
);
_
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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
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
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
-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
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
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
== $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
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
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
101 - 200 of 210 matches
Mail list logo