... (maybe.., I don't know how long it
takes for a light bulb to cool down)
Martin
-Original Message-
From: CPT John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 27 August 2003 5:35 AM
To: Curt Zirzow; PHP General
Subject: Re: [PHP] PHP Interview questions
From: "Curt Zirzo
And also for class names
$foo = "bar";
$blah = new $foo();
$blah would be a new instance of the class bar
I've actually used the above, but it was a special case.. I wouldn't
normally use it.
-Original Message-
From: DvDmanDT [mailto:[EMAIL PROTECTED]
Sent: Thursday, 28 August 2003 8:58
fine.
The function mssql_num_fields() shows correctly the number of fields.
The strange thing is that it was working a day ago (the same code).
Any thoughts?
--
###
# Martin Greco
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
Odd - I copy/paste the code below and run it against windows version of
php4.0.6 and it's okay
Maybe you've got a hidden char there somewhere?
Martin
-Original Message-
From: Sid [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 17 September 2003 5:39 AM
To: [EMAIL PROTECTED]
Sub
:%M%p
[en_US]
date format = %b %d %Y %I:%M%p
language = us_english
char set = iso_1
[es_ES]
date format = %b %d %Y %I:%M%p
language = us_english << changed
char set = iso_1
- Original Message -
From: "Dan Anderson" <[EMAIL PROTECTED]>
To: "Martin Greco&
are you thinking of "default:" ?
-Original Message-
From: Luke Skywalker [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 17 September 2003 10:51 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Control Structure problem
yeah, i really like using cases they work well and especially if you want to
d
[snip]
/*
HTH & HAND
*/
Meant to ask you this before...whats HAND?
[/snip]
Looks like noone's replied to this question, it's: Have A Nice Day...
HTH
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tween 100.000 and 1.500.000, PHP and Apache
crashes with an exception fault AFTER having processed it. I think it
crashes during the cleaning up of memory or internal variables.
Any suggestions or help, how to get a better description of this problem,
Thanks,
Martin Brenn
--
PHP General Mailing List
is problem?
Many thanks in advance!
Martin.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_self)?
It would probably be better as I'll avoid redirecting to and back all the
time. I've surfed a little but found no ellegant validation solution so far.
Thank you very much,
Martin.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
later, i.e. not
first?
Thank you,
Martin.
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 23, 2003 6:10 PM
Subject: Re: [PHP] Validation: Problems with header(Location) in PHP
What about something like this?
(actual code not tested, but concept has...)
class FOO
{
function Fred() { echo "Fred in FOO"; }
}
class BAR
{
function Fred() { echo "Fred in BAR"; }
}
class BAZ
{
var $subclass;
function BAZ($num)
{
if ($num == 1) $this->subclass = new FOO();
- --
Martin Hudec
- --
:@: [EMAIL PROTECTED]
:w: http://www.corwin.sk
:m: +421.907.303.393
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQE/cu2b1VPr1EE7sj4RAjiRAKCKgQDRmp6b7SjW3VnT5lMlBr2YFQCgkL2h
FypoB1eyT/Xux1vs9u415ro
t;
> Also, the webserver user have write (not only read) the file ?
>
- --
kind regards
- --
Martin Hudec
- --
:@: [EMAIL PROTECTED]
:w: http://www.corwin.sk
:m: +421.907.303.393
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anyway I can't understand why php does not return any message in this:
$mess = "blablabla";
if (exec("mogrify blbalba"))
{
$hlaska .= "xixixixix";
}
echo $hlaska;
- --
kind regards
- --
Martin Hudec
-
:25 2003] [info] (32)Broken pipe: core_output_filter:
writing data to the network.
have no more data about this. I don't know if it is a Apache or PHP problem.
Any thoughts?
Thanks
--
###
# Martin Greco
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hiya,
Replace " with "
Martin
-Original Message-
From: Cristian Lavaque [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 30 September 2003 5:09 PM
To: [PHP]
Subject: Re: [PHP] Initial Value for Input Box
Matt Palermo wrote:
> I have a form that a user can fill out. In the text
ith IE : "The page cannot be displayed"
> with Opera 7, Mozilla : nothing
>
anything useful in the apache logs? (error.log?) ?
Martin.
--
"Real Programmers don't document -
if it was hard to write is should
be hard to understand.."
--
PHP General Mailing List
Try something like this (quick and dirty...)
$file_array = file("list.txt");
$myarray = explode(",", $file_array[0]);
HTH
Martin
-Original Message-
From: ketvin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 1 October 2003 5:05 PM
To: [EMAIL PROTECTED]
Subject: [PHP]
Hi
It depends on the web server you're using...
Martin
-Original Message-
From: Ryan A [mailto:[EMAIL PROTECTED]
Sent: Thursday, 2 October 2003 12:15 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Show index.php instead of index.html
Hi,
I just deleted my index.html page because i wa
http://php.net/number_format
-Original Message-
From: Dale Hersh [mailto:[EMAIL PROTECTED]
Sent: Friday, 3 October 2003 10:27 AM
To: [EMAIL PROTECTED]
Subject: [PHP] FLOAT
Hi. I have a question regarding how to manipulate numbers in php. I am
currently storing some values as type float i
How about something similar, but look for the first Friday and then add
seven days (or 604800 seconds) to get the date of the next Friday?
-Original Message-
From: J Morton [mailto:[EMAIL PROTECTED]
Sent: Friday, 3 October 2003 11:20 AM
To: Shew; [EMAIL PROTECTED]
Subject: Re: [PHP] date b
I think it might be because you're passing a string to the function instead
of a hex value...
try changing it to this and see if it works
$color = ImageColorAllocate($im, hexdec($hex1), hexdec($hex2),
hexdec($hex3));
HTH
Martin
-Original Message-
From: Jed R. Brubaker [mailto:[
Hi,
Is somewhere documented that everything after NULL (0x00 %00) character
is ignored for example in functions include, fopen etc?
Martin Straka
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
why the 0x00 is not?
$a = "http://xxx/test?a=aaa".chr(1).chr(2).chr(0)."bbb";
include($a);
(it is requesting: http://xxx/test?a=aaa\x01\x02)
example 2:
$a = "1234 abc".chr(1).chr(0)."def";
$b = escapeshellcmd($a);
echo $b;
[$b is "1234 abc
Hi!
I got a problem with functions which I call before they're
defined. I get the error message:
Fatal error: Call to undefined function: view() in
/daten/www/midgard/cache/62.php on line 470
The code snippet:
8<-
switch($argv[0]) {
case 'view':
view((int)
Hi Sudheer,
Depends on what you want to do with the data afterwards.
Maybe a flat file would be enough?
Martin
-Original Message-
From: Sudheer Palaparambil [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 8 October 2003 2:50 PM
To: [EMAIL PROTECTED]
Subject: [PHP] do I need a database
Hi
What?! Even sweatshop workers earn more than that!
-Original Message-
From: John Nichel [mailto:[EMAIL PROTECTED]
Sent: Friday, 10 October 2003 1:28 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: OFF-SHORE PHP &/or Perl Developer + MySQL &/or
PostgreSQL
Thought y'all might get a kick out of
It's used on objects.
In the examples below, $test_url and $test_this are both properties of an
object ($test)
have a bit of a read of this: http://php.net/manual/en/language.oop.php
HAND
Martin
-Original Message-
From: Tom Ray [Lists] [mailto:[EMAIL PROTECTED]
Sent: Frida
|";
> ?>
>
> I know that this code is not working, it is just to see what I want to
> do.
> If somebody know a solution, like this, then please let me know.
What are you trying do? Are you trying to pass to PHP the user's screen
width and height ?
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> * Thus wrote Ashley M. Kirchner ([EMAIL PROTECTED]):
> > Curt Zirzow wrote:
> >
> > >I do wonder what the rule for those born on Feb 29'th. Do they
> > >celebrate they're birthday before or after it on non leap years?
> > >
> > >
> >Neither. They celebrate it on Feb 29th. So while we age
> Chuck PUP Payne wrote:
> > Hi,
> >
> > Is there a way I can get php to call the program fortune
> then print that a
> > web page.
> >
> > Thanks.
> >
> > Payne
> >
>
> echo '';
> passthru(fortune);
> echo '';
>
> Should do it. I use this for a nice little Server Status page that
> iterate
r[0] = array();
$myvar[0][0] = "myval";
etc...
or directly
$myvar[0][0] = "myval";
2. The same way you pass any other variable to a function
myfunc($myvar);
HTH
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
strstr() and it's variants
ereg() if you need more logic
Martin
-Original Message-
From: Tim Thorburn [mailto:[EMAIL PROTECTED]
Sent: Monday, 27 October 2003 12:13 PM
To: [EMAIL PROTECTED]
Subject: [PHP] if and like together?
Hi,
Is there an IF LIKE statement in PHP? I
substr($str, 0, 200);
or an (untested) ereg
ereg("(.{200}[^ ]*)", $str, $bits);
HTH
Martin
-Original Message-
From: Jason Williard [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 29 October 2003 1:53 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Shortening a String
I would like to di
Keywords)
$sql .= " AND MATCH (robeson_inv.specs) AGAINST ('$vKeywords')";
$sql .= " ORDER BY robeson_inv.model";
Martin
-Original Message-
From: Robb Kerr [mailto:[EMAIL PROTECTED]
Sent: Thursday, 30 October 2003 11:59 AM
To: [EMAIL PROTECTED]
Subje
try the resize copy function (can't remember the exact name ATM)
Set the destination's first colour to the desired background colour, then
copy/resize the image to it.
Martin
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Monday, 3 November 2003 12:36 PM
Hi Juan,
I think some sort of look up file or database table based on the computer's
IP address would probably be the easiest method.
Martin
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 5 November 2003 9:49 AM
To: [EMAIL PROTECTED]
Subject:
Put quotes around all the values, like:
echo "";
Martin
-Original Message-
From: Jay Frumkin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 5 November 2003 10:28 AM
To: '[EMAIL PROTECTED]'
Subject: [PHP] text input truncated
Hi all,
I am having a bit of a problem,
number_format or (s)printf
-Original Message-
From: Richard Cook [mailto:[EMAIL PROTECTED]
Sent: Thursday, 6 November 2003 2:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Ive lost a zero somewhere
I have a problem with the following
when i multiply for example 25 . 50 * 3 i get 76 . 5 how
Maybe there's an error with _generateThumbnail() ?
Do you know for certain that _generateThumbnail() works okay ?
Martin
-Original Message-
Hi all:
I have a page with a img tag:
The script getthumbnail.php searchs for a thumbnail of the specified image
id; if not thumbnail e
Any ideas?
Tx,
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Chris,
no, unfortunately, that doesn't work; it creates a permanent socket on the
server, but between page reads, php still loses its resource id, and can't
communicate with the socket...
Martin
"Chris Hayes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROT
Hi Chris,
yes, that's precisely my problem (I had read the notes).
This seems like something people would want to do, so I'm surprised no one's
found some workaround.
Any other ideas?
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTEC
Hi Dan,
sounds like a good idea. How does 'gateway' actually listen in on the
website session?
Is it simply invoked by the website with specific arguments?
Tx,
Martin
"Dan Joseph" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> >
Great! Thanks Dan.
I'll be making a php version of something similar.
Martin
"Dan Joseph" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> > sounds like a good idea. How does 'gateway' actually listen in on the
> > web
{
>
> boardNum++;
>
> } else {
>
> boardNum = 0;
>
> }
>
> }
>
> function jumpBillboard() {
>
> window.location.href = url[boardNum];
> }
>
Try something like this
billboards = new Array();
>
$i = 0;
while ($something from database)
{
?>
billboards[] = new Image();
billboards[].src = "";
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
surely sort() would do the trick?
Martin
> -Original Message-
> From: Justin French [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 12 November 2003 12:13 PM
> To: php
> Subject: [PHP] sorting files by date
>
>
> Hi,
>
> I have a dir of files saved in th
I need to print a page and redirect the browser to another page. As it can't
be done with PHP, I thought about using javascript. Can anyone give me an
advise on how to do it?
--
19:13:01 up 22 days, 2:35, 3 users, load average: 0.08, 0.15, 0.26
--
El Mié 12 Nov 2003 19:36, Marek Kilimajer escribió:
> Martin Marques wrote:
> > I need to print a page and redirect the browser to another page. As it
> > can't be done with PHP, I thought about using javascript. Can anyone give
> > me an advise on how to do it?
>
&g
El Mié 12 Nov 2003 19:59, Marek Kilimajer escribió:
> Martin Marques wrote:
> >>
> >>function printAndRedirect() {
> >> print();
> >> location="someotherscript.php";
> >>}
> >>
> >
> > Yes, I already have this
This only really works if your format's /MM/DD
It wont work if it's DD/MM/, MM/DD/, /DD/MM, etc, etc
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
therwise I wouldn't be emailing the
list...
Can anyone help? I need to use ereg_replace() because it's part of our code
library and therefore can't change :(
TIA
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> * Thus wrote Martin Towell ([EMAIL PROTECTED]):
> > Hi All,
> >
> > I have an array of strings in the following format:
> > "abcd - rst"
> > "abcd - uvw"
> > "abcd - xyz"
> > "foobar - rst&
When I send HTML emails, I don't base64 encode it, I just set the
content-type to text/html. The mail clients that I've tested it with renders
it correctly
HTH
Martin
> I m sendig out HTML email, using mimemail class which encodes
> the whole message to be sent in base64 and
&g
$ndays=14;
function get_next_dates($ndays)
{
$today=date("m-d-Y",mktime(0,0,0,date("m"),date("d"),date("Y")));
$forward_date=date("m-d-Y",mktime(0,0,0,date("m"),date("d")+$few_days,date("Y")));
print "$today === $few_days === $forward_date";
for($i=0;$i<$ndays;$i++)
{
$new_days_array[]=date(
look for this line in your php.ini file
error_log = filename
but that's only going to help if you have
log_errors = On
HTH
Martin
> -Original Message-
> From: Manisha Sathe [mailto:[EMAIL PROTECTED]
> Sent: Friday, 21 November 2003 12:19 PM
> To: [EMAIL PROTECTED
ctory.
> >
> >
> >
> > Brona
> >
> > > I am getting this error once i run the script
> > >
> > > Warning: move_uploaded_file(img/matrix.jpg): failed to open stream:
> > > Permission denied in /blah/blah
> > > Do i need to set t
> echo "Values submitted via POST method:";
> reset ($HTTP_POST_VARS);
> while (list ($key, $val) = each ($HTTP_POST_VARS)) {
> echo "$key => $val";
> }
>
> ?>
>
> but if I call the variable directly
>
> it prints nothing, should I go
y
> that you're using a version of PHP that is recent enough to have $_POST.
> So, you can use $_POST['foo'] instead of $HTTP_POST_VARS['foo']. Not only
> is it shorter, I believe the older name is deprecated.
--
:
:. kind regards
:.. Martin Hudec
you might be able to put the id of the next/prev card as the value of the
and then use javascript to generate the url.
the only reliance then would be that the browser as JS enabled, as the above
should be possible with the most basic of JS
HTH
Martin
> -Original Message-
> From
This doesn't sound right. It's doesn't behave like this for me.
Can you supply an example?
Martin
> -Original Message-
> From: Mike D [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 4 December 2003 10:35 AM
> To: PHP General list
> Subject: [PHP] Variable
)."\n";
return strcmp($a, $b);
}
"interesting" results
Here's an alterative to this function that works (might not be the best way
though??)
function date_file_sort($a, $b)
{
list($x, $y, $z) = explode("-", $a); $a = "$z-$y-$x";
list($x, $y, $z)
Just thought I would check.
--
:
:. kind regards
:.. Martin Hudec
:.:
:.: =w= http://www.aeternal.net
:.: =m= +421.907.303393
:.: [EMAIL PROTECTED] [EMAIL PROTECTED]
:.:
:.: "When you want something, all the universe
:.: conspires in helping you to achieve it."
:.:
here???
> Hope to get some help soon. Thanks in advance=)
>
> Irin.
Don't you need to quote your strings?
$sql = "INSERT INTO tutor (tutor_name, tutor_contact, tutor_email,
tutor_profile)
VALUES
('$tutor_name','$tutor_contact','$tutor_email','$tutor_profile')";
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
CT SQL CODE using $this->ponum, RETURN RESULTS (ie.
while($row=mssql_fetch_array($rst)){echo $row[0]})
}
}
?>
HTH
Martin
> -Original Message-
> From: Mike Smith [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 16 December 2003 10:22 AM
> To: [EMAIL PROTECTED]
> Subject
It should have quotes, unless you have defined formReviewBy as a constant
PHP's nice enough to interpret it as a string if using it as a constant
fails, but you should still quote it anyway.
Martin
>
>
> Should $_POST[formReviewBy] have quotes or dose it not matter?
--
PHP G
I haven't used sessions before, but it doesn't look like the variables are
being put into the session.
If they're coming from a form, then they would appear in the $_POST or
$HTTP_POST_VARS variables, not the $HTTP_SESSION_VARS variable.
HTH
Martin
> -Original Message--
Hello,
I'm writing a routine that recursively reads an HTML document, looking for
"special tags". It's a template system, but contrary to what I've seen out
there so far, no template engines allow for any kind of customization from
within the document; they only seem to be variable replacement sys
rsing
> larger or complex files is much better to use state machine (finite
> state automaton). Try to search google for more theory. For ex.
> http://en.wikipedia.org/wiki/Finite_state_automaton
>
> Martin Helie wrote:
> > Hello,
> >
> > I'm writing a routine t
Since you mention mysql, why not just add
"ORDER BY number DESC" to your query? The database will do the work for you.
"Dave Carrera" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi List,
>
> How can I sort a while loop or do something before it to achieve the
> following?
>
>
Not sure I understand, but it sounds like you'd want to do something like:
$dir = "yourdir/";
$d = dir( $dir );
while (false !== ($file = $d->read())) {
if( substr( $file, 0, 1 ) == "." ) {
continue;
}
$fp = fopen( $dir . $file, "r" );
$contentArray = split( "", fread( $fp
How about simply:
echo "
window.top.main.location= 'http://localhost/phase1/report.php'';
";
?
"Geoffrey Thompson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I was only able to find one reference to targeting a named frame
everything out formated...
for ($z = 0; $z < $num; $z++)
echo "$vlans[$z]\n";
Martin
> -Original Message-
> From: Jas [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 7 January 2004 9:05 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Looping problem?
>
>
> r
...)
Martin
> -Original Message-
> From: Matt Grimm [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 8 January 2004 9:37 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: Sorting data into columns vertically
>
>
> Well you didn't say you wanted a dynamic number of colum
This is a basic table join:
select * from teams, divisions where teams.divisionID = divisions.divisionID
> -Original Message-
> From: Kirk Babb [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 15 January 2004 9:41 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] multi-table select?
>
>
> I'm lo
I've come across this recently too. I think what's happening is that PHP is
converting "NFH" to an integer, which would be zero in this case. Thus zero
== zero is true...
Try doing type checking too:
if ($EA === "NFH")
Martin
> I am so frustrated at
will return
> false. However, when you enclose the 1 in quotes, it becomes
> a string
> too for comparison, and will evaluate to 0. Someone correct
> me if I am
> mistaken.
I think the first bit of what you're saying is right, but when '1' is used,
then a string comparison between '0' === '1' is done since both are now
strings (or am I mistaken?).
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
output...
with this information you can see which php-command causing the seg fault
-> http://bugs.php.net/bugs-generating-backtrace.php
g. martin luethi
> Program received signal SIGSEGV, Segmentation fault.
> 0x7bacedcc in zend_parse_arg_impl (arg=0x1003853c0,
>
ttern.syntax.php)
g. martin luethi
Thu, 22 Jan 2004 15:43:19 +0100 Victor Spång Arthursson <[EMAIL PROTECTED]>:
>
> 2004-01-22 kl. 10.40 skrev Dagfinn Reiersøl:
>
>> I assume you mean:
>>
>> $test = split_bokid("ääö12345");
>
> Yes!
>
>> I don
hould do the trick
HTH
Martin
> -Original Message-
> From: Jonno Agnew [mailto:[EMAIL PROTECTED]
> Sent: Friday, 23 January 2004 7:16 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] newbie issues with control structures & HTML form
>
>
>
> Hello.
>
> OK,
(on win32 only):
[28 Nov 2002 7:06am EST] [EMAIL PROTECTED]
Not really a PHP bug; bug is in the PCRE library itself
and is because you are asking it to capture a very large
number of individual character matches.
Increasing your stack size might help (ulimit).
g. martin luethi
Thu, 22 Jan 2004 14
check if the user you defined in phpMyAdmin/config.inc.php
($cfg['Servers'][$i]['user'] = ???)
has the right to create new databases
(db: mysql / table: user / field: Create_priv='Y')
restart the mysql-server after altering the database mysql
g. martin luethi
F
try
g. martin luethi
Mon, 26 Jan 2004 03:08:30 -0500 John Taylor-Johnston
<[EMAIL PROTECTED]>:
Did I miss something at the FAQ? date("F"); gives me this month. Can
I get it to give me next month?
These combinations don't work:
What is the minimum version for this t
e current locale-informations
-> http://ch2.php.net/manual/en/function.strftime.php
sample script:
g. martin luethi
Mon, 26 Jan 2004 03:29:16 -0500 John Taylor-Johnston
<[EMAIL PROTECTED]>:
Thanks!! :) Getting tired at this hour.
Is there a way to detect the language of the browser and echo the
edit "php.ini" and define a session.save_path
e.g. on windows:
session.save_path = c:\winnt\temp
-> http://ch.php.net/en/session
g. martin luethi
Loh tuck yong wrote:
Hi,
i have a problem with the method session_start()
this is the warning message generated, and for the
php, i hav
>From within PHP, I'm trying to execute an external command and pipe (|)
the result into another command, then capture the output. I've tried
everything, exec, system, passthru, popen and backtick, and still could
get it to work. Has anyone done it before? Is it possible with PHP?
Running PHP
t; -Ursprungliche Nachricht-
> Von: Martin Kong [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 21. Februar 2001 15:45
> An: [EMAIL PROTECTED]
> Betreff: [PHP] How to pipe a command output into another command
>
> >From within PHP, I'm trying to execute an external comm
mj Fri Mar 2 10:24:00 2001 EDT
Modified files:
/php4/pear/BenchmarkIterate.php
Log:
- added check for existing bcmath extensions
to Benchmark/Iterate.php
- did some cosmetic changes to Benchmark/Iterate.php
Index: php4/pear/Benchmark/
mj Sun Mar 4 06:26:59 2001 EDT
Modified files:
/php4/pear Cache.php
Log:
fixed typo
Index: php4/pear/Cache.php
diff -u php4/pear/Cache.php:1.3 php4/pear/Cache.php:1.4
--- php4/pear/Cache.php:1.3 Sat Mar 3 11:21:49 2001
+++ php4/pear/Cache.php Sun
files does
not have to be .txt)
This seems to be a basic thing EVERY website done with php achieves -
HOW
(I am NOT familiar with php!! - English please :0))
Many Thanks :0),
Martin
==
Musical Director
University of York Gilbert & Sull
and the link LINK
..but with audio, visual, act 1, act 2, orchestra, cast, and loads of other
"pages". Do I put:
etc. in every page? Or is there a way of doing the whole link thing and
changing several frames with one link in php (just by the .php?page=foo
action)
I h
Sorry bout the length I'm a newbie to PHP/MySQL so bare with me ...
Here's a snippet of an app I'm hacking. I have a form that should update a
client form. the cl_ are taken from a database table and works nicely.
The point of this that they should possibly be replaced by txtXXX and put
quot;, "dx7", "k2000", "k2vx", "k2500");
$audio = array("audiomain", "synth");
$recordings = array("recordingsmain", "reccompare", "olc", "obc", "csr",
"ta
How do I make a variable persistent between webpages?
V e r b a l
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hi !
How can I replace a string (like "") case-insensitive (replace
also "", "",""...) ? str_replace is case-sensitive.
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mai
I found out to use eregi_replace.
Martin Thoma schrieb:
> Hi !
>
> How can I replace a string (like "") case-insensitive (replace
> also "", "",""...) ? str_replace is case-sensitive.
>
> Martin
>
> --
> PHP General Mailing Li
Hello !
How can I use eregi_replace to replace every ">" with ">", except
when it's "" ??
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contac
Does anyone know if it is possible to maintain session state across a
cluster of four web servers?
Regards
Martin Cameron
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
Hi !
Does someone know a good tutorial für regula-expression, like they are
used in ereg and preg ?
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e
501 - 600 of 1954 matches
Mail list logo