() and class_exists() o test against needed
implementations. Some extensions may have functions returning the installed
version as well.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To un
7;));
To insert the home address you'd create an SQL statement like this:
for($i = 0; $i <= $number_of_addresses; ++$i) {
$sql = "insert into address(adress, city) values (" .
"{$_REQUEST['address']['address'][$i]}," .
"{$_REQUEST
s $i: ".$_POST['address']['address'][$i];
echo "city $i: ".$_POST['address']['city'][$i];
}
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
T_ALLOWED_EXTENSION' => "Not Allowed File Extension, the
following filetypes are allowed : ({$this->type})\n",
);
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t_ID) VALUES
>('".$_GET[user_id]."', '".$fields[$i]."')";
> }
>}
[snip]----
Shouldn't that be
if ($values[$i] != 0){ //line 137
Note the curly vs. square brackets in $values
--
>O Ernes
snippet that I could use to convert a temp file to use
>all \n based line endings for consistency?
[snip]
$in = array("/\n\r/", "/\r\n/", "/\r/");
$out = array("\n", "\n", "\n");
$cleaned = preg_r
onnection
You see the main recipient is listed in the MIME header ("To:"), but the
Bcc recipient ([EMAIL PROTECTED]) is not; it only shows up during the SMTP
conversation (the "envelope" part).
AFAIK it's a feature of the mail client; be it an email program or a mailer
class.
/manual/en/function.setcookie.php):
"secure" indicates that the cookie should only be transmitted over a secure
HTTPS connection. When set to 1, the cookie will only be set if a secure
connection exists. The default is 0.
Sorry if I'm OT here but you didn't mention https in
7;,'windo...
Should make for a valid URL then. However don't forget that passing
application data via URL could pose a security risk to your application,
depending on what the data actually represents, and how it is worked on.
Consider also that URLs have some size limit (don't have t
mailing process starts again?
[snip]
From what you've said it looks as if your script is running in an endless
loop. You may debug it by _not_ actually sending the mail, but echoing the
mail() command to the browser, together with the vital variab
1300+ mails when the script is supposed to
send 1000 there's certainly something wrong ;-)
Try to mark the first message so you can possibly see where it's about to
start over again. Then hook in here with your debug efforts to see as to
why it starts over.
--
>O Ernest E.
xception of omitting the headers, but without looking).
So in fact an fopen() to a non-existing page will be seen as successful by
fopen(). This is by design and afaik documented somewhere.
To actually check on the HTTP status codes you need to run your own, either
using cURL, or by doing you
f ($fp)
{
fputs( $fp, "GET ".$file." HTTP/1.0\r\n" .
"Host: $hostname\r\n" .
"Accept: text/html\r\n" .
"Accept: text/plain\r\n\r\n" );
$src = '';
while (!feof ($fp))
eg("^[0-9]*$",$phone)) {
You could also check if anything _not_ being a number exists within $phone:
if (ereg("[^0-9]",$phone)) {
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nal input?
[snip]
nl2br()
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am using php 4.2.2 with Apache 2.0 on Red Hat 8.0
When I attempt to dynamically aggregate two objects using the
aggregate() call, I get the following message:
Fatal error: Call to undefined function: aggregate()
the man page for aggregate() lists the following info:
aggregate
(PHP 4 >= 4.2.0)
ficate to
authenticate itself. AFAIK this can be done with cURL.
HTH,
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
should be in curly quotes then:
echo "{GLOBALS['$key']} = $value\n";
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
d button ;-)
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the intranet DB,
formatted in a way easy to parse by an intranet script (e.g. ini style, or
xml, whatever). On the intranet box have a cronjob running that polls once
per minute.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP Gener
t resist...)
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i just want to figure out a way by which i can stop session theft.i
thought
if i can get something from user end that is unique for that user.for
e.g.
his/her IP .but it will not work when they are behind firewall.they
will be
assigned same IP.is there a way for me to get the IP
(e.g.202.202.20
The problem that I am facing is that I can get the script/browser/php
to pass such large file. I have modified the upload_max_size variable
in
php.ini to be larger the 60Mb but this still does not help!
Is there any hard limitation that I am unaware of?
You'll probably need to adjust the follow
8
columns indentation width.
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if (!ereg("^[0-9)(xX -]{7,20}$",$phone))
>{
>unset($do);
>$message_new = "$phone is not a valid phone number.
>Please try again.";
>include("login_form.inc");
>exit();
directly here af
compile make sure Apache uses the module you have just compiled.
Have a look at phpinvo() and check the build date to see if it's using the
very last buld.
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www
/mysql), you need to specify the
correct directory when configuring php.
The next issue may be if you have multipls PHP versions (from RPM, or from
your own builds) on your system - check which version Apache is using.
Check your httpd.conf what installation it uses.
--
>O Ernest E. Vogelsinge
gt;apache; it doesn't seem to be making any difference.
Check the permissions on the files too, they should be -rw-rw---, or
-rw--, at least (best...)
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://w
// a ends before B
elseif ($A['ENDDATE'] == $B['ENDDATE']) { // ends at the
same day
if ($A['ENDTIME'] < $B['ENDTIME']) return -1; // a ends before B
elseif ($A['ENDTIME'] == $B['ENDTIME']) {
case you're on Linux, and may run externals, you could
du -s . (prints kilobytes)
du -s -b (prints bytes)
list($dusage, $dir) = explode(' ', `du -s -b .`);
echo sprintf('The current directory has %d kB (%d bytes)', $dusage / 1024,
$dusage);
--
>O
gn to interactive stuff, e.g. a
chatroom for your partners.
All prices excl. VAT, of course. Additional National Fees may apply.
Just drop me a note...
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (htt
code as to MHO.#
Either this guy is trying to deceive his own weak code, or he doesn't have
a clue of how PHP works. I'd reconsider hiring such a "developer".
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General
the same
physical directory.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
created within the
included file are within the function's scope. If included outside, they're
on a global scope - you would need to use either the $GLOBAL superglobal
array, or to declare them being global within the function that uses them.
--
>O Ernest E. Vogelsinger
session data go to if you're redirecting to plain html?
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Where would I go on the redHat site to ask when they are going to
upgrade to PHP 4.3 and MySQL 4.x (now in production). Our CS dept.
won't install them for me until RedHat bundles it. I'm using RH 7.3.
This question would probably be best directed towards:
1) The RedHat site
2) A RedHat newsgroup
e[idx])');
echo "-\n";
runtest('$ostore[] = new TEST()', 'Created $i object entries');
runtest('$ostore[$i]->a["rid"] = $i', 'Write-Accessed $i object values
using direct access');
runtest('$ostore[$i]-&
At 23:20 29.05.2003, Artoo Smith said:
[snip]
>How do you send attachments when sending e-mail uisng the mail() command?
[snip]
If you want to use the builtin mail() function you gotta construct the
complete M
ects
in favour of sequentially numbered arrays?
Just wondering...
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
guage inventors allow functions to continue after they call
others... Maybe you mixed this up with gotos, these never return. Thanks to
Andi Gutman and Zeev Suraski that there's no goto in PHP *smile*
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vog
$wd = "9"; }
(08 => decimal 0, 09 => decimal 1). In this case your last statement will
trigger for _any_ day in June.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
)) {
$cmd = "return sprintf(\$string, '" . join("','",
$params) . "');";
$string = eval($cmd);
}
if ($passes)
$x = sprintf("%f secs (%f mse
$start = microtime();
for ($i = 0; $i < 1; ++$i)
$n = getdate(time());
$end = microtime();
list($s0, $s1) = explode(' ', $start);
list($e0, $e1) = explode(' ', $end);
echo sprintf('This page took %.2f seconds to generate',
($e0+$e1)-($s0+$s1));
--
t. All pages
went fine when using a synchronous connection (in == out).
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ew CExtendedTest(2));
$tee->attach(new CBaseTest(3));
$tee->attach(new CExtendedTest(3));
$tee->attach(new CBaseTest(4));
$tee->attach(new CExtendedTest(4));
echo ''; $res_hello = $tee->call_method('hello', 'Called hello() (both
base and extended)
all successive objects make sure they have
// the same class (or at least derived from).
if (is_object($hObj))
return (!count($this->arObj) || is_a($hObj,
get_class($this->arObj[0])));
return false;
}
--
>O Ernest E. Vogelsinger
t when the user leaves the field blank, not to
>change that field in MySQL.
[snip]
Try something like
if (!empty($_REQUEST['fieldname']))
dbupdate('fieldname');
http://www.php.net/manual/en/function.empty.php
--
>O
ur message and will respond to it as
>quickly as possible.
>
>At BONZI Software we attempt to answer all of the questions we get on a
>first-come, first-served basis, as quickly as possible. On occasion we
>receive a large volume of e-mail that prevents us from answering your
s is what
you're looking for.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
php.net/manual/en/ref.curl.php) how to do this.
HTH,
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
like to share, please do.
[snip]
This should work:
$result = null;
while (preg_match('!(.*)<.*?a.*?href\s*=\s*"(.*?)".*?>(.*)!i', $html,
$aresult)) {
$result .= $aresult[1];
if ($aresult[2]) $result .= ' link name [' . $aresult[2] .
.= $aresult[1];
if ($aresult[2] && $aresult[3]) $result .= $aresult[3] . ' [' .
$aresult[2] . ']';
$html = $aresult[4];
}
$result .= $html;
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
oop I use this array to modify the HTML code to read
(pre-match)#linked-text# [#url#]...
which is what you want, after all.
>
>On Tue, 2003-06-03 at 11:59, Ernest E Vogelsinger wrote:
>> At 18:43 03.06.2003, Jackson Miller said:
>> [snip]--
y[] = ' . $out[2][$i] . ';');
After this eval, the $replace_by array will contain the correct value.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
don't you want to "impress your girlfriend"?
*ducking away*
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
($this), "::Set: class variable
doesn't exist: $varname]";
}
}
$sc = new CSampleClass();
echo "m_a = ", $sc->Get('m_a'), ", m_b = ", $sc->Get('m_b'),
", other = ", $sc->Get('other'), "\n&qu
time is ', date('H:i:s'), '';
EOC;
eval($code);
The complexity is up to you ;-)
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"From: [EMAIL PROTECTED]" .
"Reply-To: [EMAIL PROTECTED]" .
"X-Mailer: PHPSpam/" . phpversion() . "\r\n",
"[EMAIL PROTECTED]");
The last parameter is a sendmail parameter which may be omitted (doesn't
work in safe mode an
ettings. Being a
HTTP equivalent this also means you can transmit it as MIME header as well:
header('Refresh: 5;URL="http://www.microsoft.com";');
echo 'Transferring you to Microsoft in 5 seconds...';
exit;
HTH,
--
>O Ernest E. Vogelsinger
(\)ICQ #13
hat the _client_
needs to transmit the auth credentials to the server.
What you can do however is to somehow include the page contents in your PHP
output. In case the .htaccess-protected content is a simple html page you
could e.g. readfile() it, or process it in a similar way.
HTH,
-
red in anyone's history files. Well... why
protect it anyway?
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ple on my server:
http://www.vogelsinger.at/protected.html
This should do just what you need, some explanations are within the source
code.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To
& AUTH_APP_C)
header('Location: main_menu.php');
// on top of AppD
if (!($admin->GetAccountRights() & AUTH_APP_D)
header('Location: main_menu.php');
This is fairly crude but quite efficient.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
llowed directories:
open_basedir = /tmp:/www/yourvirtualhost
This should give you access to both trees.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
$options, &$opened_path)
{
// put sql here
return true;
}
function stream_unlink($path, $mode, $options, &$opened_path)
{
// put sql here
return true;
}
and so forth
Thanks,
Larry E. Masters
aka PhpNut
--
PHP General Mailing List (http://www.php.n
ilable allows to run more than one session from a single
browser instance.
HTH,
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does the php.ini file always go in the same place no matter the OS? I
did a
locate in the shell, and nothing came up. I could find .ini files, or
php.
files, but no php.ini files.
In all likelihood, you don't have a php.ini file on your computer,
which is why searching for it using conventional
inks" is null,
you will see nothing between ** START DUMP ** and ** END DUMP **. Once you
have this info you can investigate further.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e(',',$data);
array_unshift($atmp, $key);
$array_output[] = $atmp;
}
May I ask why you're reformatting the array - maybe you could avoid this step?
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
),
),
array('expr'=> '!empty(\$_REQUEST[\'Jfirstname\'])' .
' && in_array(\$_REQUEST[\'Jtowhompaid\'],' .
' array(\'Renting\', \'Lease\', \'Buying House
W/Mortgage\'))',
'pattern' => 'Enter Cobuyer\'s [%s]',
'check' => array('Jtowhompaid' => 'To Whom Paid',
'Jpaymentaddress' => 'Home Payment Address',
'Jpaymentcity'=> 'Home Payment City',
'Jpaymentstate' => 'Home Payment State',
'Jpaymentzipcode' => 'Home Payment Zip Code',
),
),
array('expr'=> '!empty(\$_REQUEST[\'Jfirstname\'])',
'pattern' => 'Enter Cobuyer\'s [%s]',
'check' => array('Jincome' => 'Income',
'Jtypeofincome' => 'Type of Income',
'Jbankname' => 'Bank Name',
),
),
);
function run_test(&$map)
{
foreach ($map as $check) {
if (eval("return ({$check['expr']});")) {
foreach ($check['check'] as $field => $msg) {
if (empty($_REQUEST[$field])) {
echo sprintf($check['pattern'], $msg);
return false;
}
}
}
}
return 'Pass';
}
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
aScript "OnLoad" handler:
...[page contents]...
...[more page contents]...
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Thanks,
Dean E. Weimer
http://www.dwiemer.org/
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
at I don't have control of the PHP configuration on the
>server, does anyone have any idea of how I could handle this parsing
>problem, still being able to define the file as XHTML?
Within your PHP code:
echo 'O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.
r use ssh, but http is
always available.
>
> So they don't have to use ftp or ssh to uploads files?
>
> Jim Lucas
> - Original Message -
> From: "Dean E. Weimer" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, June 27, 20
hanks,
Dean E. Weimer
http://www.dwiemer.org/
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> on 29/06/03 4:12 AM, Dean E. Weimer ([EMAIL PROTECTED]) wrote:
>
>>> What is the point of the web based file manager?
>> To eliminate Local Accounts, and so that they don't have to upload files
>> via ftp or ssh.
>> Plain ftp is very unsecure, and
Does anyone know of a good installation kit like FoxServ, phpTriad,
etc for
Mac OS X? I want a quick solution for adding MySQL, GD, phpLib
support for
my mac.
Follow Marc's instructions at http://www.entropy.ch/software/macosx/php/
He provides a compiled version of PHP that includes MySQL suppor
es
see the thread "[PHP] multi line regular expression?" and see if that
helps you any.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Thanks,
Dean E. Weimer
http://www.dwiemer.org/
[EMAIL
Is it possible to run PHP that is embedded within a string? I have a file
that is read into a string and returned to the browser, how can I run that
PHP?
i.e.
some html codegetForm("guest"); ?>some more
html code";
return ($str);
}
echo $obj->something();
--
Joshu
Hi ,
I am trying to install Apache 2.0.40 with the latest php build as a module
(windows xp) yet it just wont work.
Though I tried all the tricks and possible scenarios no luck.
Does anyone have anyidea why I am getthing this frustrating "Cannot load
D:/Apache/php/sapi/php4apache2.dll into serve
Hi,
After unsuccessful try to install apache2.0.4 with php I went back to
apache1.3 and the same php config I had before.
Yet for some reason php is not working the way its supposed to.
The header function wont do a thing and no syntax errors or warnings are
shown . I guess it has to do something
I have an application that uses php's snmp support to gather some
information. I run several servers that are using this application and
all of the servers are running redhat-7.2. In redhat 7.2 the OS
initially ships with ucd-snmp-4.2.1-7.i386.rpm. This works fine with
my applications.
ld greatly appreciate any help or direction provided.
--
Joshua E Minnie
Advantage Computer Services, LLC
Senior Project Manager
[EMAIL PROTECTED]
Phone: 269.276.9690
Fax: 269.342.8750
"Don't work for recognition, but always do work worthy of recognition."
--
PHP General Mailing List
uerysim');
[/code snippet]
And my querys would still remain relatively the same. I hope you can shed
some light on this because I am not really sure which one to use.
--
Joshua E Minnie
Advantage Computer Services, LLC
Senior Project Manager
[EMAIL PROTECTED]
Phone: 269.276.9690
Fax:
You might check out http://wildelement.users.phpclasses.org/
--
Joshua E Minnie
Advantage Computer Services, LLC
Senior Project Manager
[EMAIL PROTECTED]
Phone: 269.276.9690
Fax: 269.342.8750
"Don't work for recognition, but always do work worthy of recognition."
"Paul
find where "waldo" is at. Not sure
how easy this would be but HTH.
--
Joshua E Minnie
Advantage Computer Services, LLC
Senior Project Manager
[EMAIL PROTECTED]
Phone: 269.276.9690
Fax: 269.342.8750
"Don't work for recognition, but always do work worthy of recognition."
&q
I was wondering if anyone could point me in the right direction as to why I
can't get image manipulation with PHP to work. I am running 4.1.2 on Redhat
with Apache. The configure script has "--with-gd" and in the php.ini file I
added the line "extension=gd.so".
I got it working on my W2K IIS5 S
"Joshua E Minnie" <[EMAIL PROTECTED]> wrote:
: I was wondering if anyone could point me in the right direction as to why
I
: can't get image manipulation with PHP to work. I am running 4.1.2 on
Redhat
: with Apache. The configure script has "--with-gd" and in
Hey all,
I am having some interesting, but confusing results when I use date().
What is confusing me is that when I use date with only the first argument, I
get some interesting results with the timezone.
i.e.
You would expect to see something like this:
Fri, 11 Oct 2002 13:24:53 -0500 Eas
If you are trying to just validate the email you might also try to the email
validation function that php.net uses. You can get it in the CSV area of
the site.
_
/ Joshua Minnie\
++---+
| Wild Web Technology
Hey all,
I was wondering if anyone could explain to me why I can't seem to maintain a
session using PHP 4.1.2 on my NT4 server. I am don't have any problems on my W2K/IIS5
or Linux machine. What I am doing is allowing my users to log on to the site at any
time, and then being returned to t
First of all, you can't echo that variable in the manner you are trying.
Try this instead:
[lib.inc]
function test_func($param1) {
return $param1;
}
[main.php]
HTH
_
/ Joshua Minnie\
++---+
| Wild Web Technology
Hi list,
maybe someone has a simple answer to this:
I am running Apache 1.3.22 with libphp4.so. Everything's fine, but when
starting php from the command line I get:
php: relocation error: php: undefined symbol: curl-global-init
Any idea what I should try?
Thanks,
--
>O
table name or alias
where the orderid field should be taken from:
select orders.orderid from orders, email where orders.orderid = email.orderid
and email.checked='no'
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General
EXCELLENT
online PHP manual at http://www.php.net/manual/en/. If you read about
mysql_fetch_array you'll notice the additional optional parameter
"result_type". Since you're going to pass the resulting data to extract it
helps to specify MYSQL_ASSOC as result_t
; there that can work. I also
[snip]
It's quite easy using the left-shift operator "<<". Note that the function
below only works for values 1-31 on 32bit systems.
', sprintf('0x%x', makebits($a)), "\n";
?>
-
At 13:39 06.11.2002, Marek Kilimajer said:
[snip]
>Do you have libcurl intaled?
>
>Ernest E Vogelsinger wrote:
>
>>Hi list,
>>
>>maybe someone has a simple answer to this:
>>
>>I am running Apache 1.3.22 wi
if (in_array($i, $array))
$result .= '1';
else
$result .= '0';
}
return $result;
}
if you need this as a number, simply return "(int)$result", but beware that
this breaks if there
hout
a little shop solution. Try to check the docs with your aquirer.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
401 - 500 of 1161 matches
Mail list logo