Hi,
Wednesday, December 4, 2002, 3:12:41 PM, you wrote:
JTJ> Tom,
JTJ> Anyone,
JTJ> No I'm not looking for a ", I'm trying to pass double quotes into MySQL.
JTJ> Like I said, it works when debugging:
here is a function to clean up your search string, a bit lon
ut)) $list[] = addslashes($out);;
$r = '';
$x = 0;
while(list($key,$val)=each($list)){
$r .= $val.' ';
}
return $r;
}
$test = addslashes(' +test "hello maria" fish '."-O'Brian 'big \" test'");
$list = clean_search_string($test);
echo $list.'';
you will then just need "SELECT.. AGAINST '$list' "
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Thursday, December 5, 2002, 7:11:20 AM, you wrote:
JTJ> Tom,
JTJ> Sorry for the delay. I have tried your code.
JTJ> SELECT id,AU,ST,BT,AT FROM ccl_main WHERE MATCH
JTJ> (TNum,YR,AU,ST,SD,BT,BC,AT,PL,PR,PG,LG,AUS,KW,GEO,AN,RB,CO) AGAINST ('"ready
maria" ' I
need to tell the function to use the global variable like so:
function test() {
global $username;
echo $username;
}
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
de
RL> Thanks for any help on this,
RL> Roger
Sounds like php.ini is being overridden by a .htaccess file or httpd.conf
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
quot;):
AB> if($k=="1"):
AB>print("print("navlinks=navsec&tit=$m&ch=$l&sec=$r>");
AB>print("$textos[$h]");
AB> print(" - ");
AB> elseif($k=="2"):
AB>print("$textos[$h]");
AB> endif;
AB> endif;
AB> endforeach;
?>>
AB> Could anybody help?
AB> Thanks in advance
AB> Alberto Brea
AB> http://estudiobrea.com
I think you need to note that substr() starts at 0 not 1
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
0;
$current = 1;
do
{
$x = 'num'.$current;
if(isset($_POST[$x])){
$output += $_POST[$x];
}
$current++;
} while($current <= $_POST['vars']);
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Thursday, December 5, 2002, 11:54:08 AM, you wrote:
RL> Tom,
RL> Thanks for your response. If this is so, can you tell me how I check it out
RL> and fix things.
RL> Roger
Unless you have set it yourself that is probably not the reason.
Try setting it like this
upload_
Hi,
Thursday, December 5, 2002, 3:09:46 PM, you wrote:
RL> Tom Rogers responded on Wednesday, December 04, 2002 6:11 PM
RL> Hi,
RL> Thursday, December 5, 2002, 11:54:08 AM, you wrote:
RL>> Tom,
RL>> Thanks for your response. If this is so, can you tell me how I chec
legally privileged, intended solely for the addressee. If you are
BC> not the intended recipient, be advised that any use, dissemination,
BC> distribution, or copying of this e-mail is strictly prohibited. If you
BC> receive this message in error, please notify the sender immediately by rep
settings in my php.ini either.
RL> Do you have any other thoughts on this?
RL> Regards,
RL> Roger
RL> --
RL> PHP General Mailing List (http://www.php.net/)
RL> To unsubscribe, visit: http://www.php.net/unsub.php
A shot in the dark check for:
file_uploads = On
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
urn (@mysql_query('SELECT count(*) FROM '.$table));
}
//usage
$con = @mysql_connect("host" , "user" , "password");
$table = "database.table";
if(table_exists($table)){
echo "Table $table exists. ";
}else{
echo "Ta
}
return $r;
}
//usage
for($x = 1;$x < 100;$x++){
$a = 11/$x;
$res = repeat($a);
echo ' returned: '.$res.'';
}
The check_to_end() function could probably be replaced with a regex but those
go in the same basket as vi with my old brain :)
Regards Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ocate gd.h
that should tell you where they are hiding
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s no member named `free'
ithc> make[3]: *** [gd.lo] Fehler 1
I think the function name got changed to gdFree(), I'll try to find more info if
I can
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
d `free'
ithc>> gd.c: In function `_php_image_create_from':
ithc>> gd.c:1176: structure has no member named `free'
ithc>> make[3]: *** [gd.lo] Fehler 1
TR> I think the function name got changed to gdFree(), I'll try to find more info if
TR> I can
TR> --
T
rowser provided this
information. An example would be "image/gif".
$_FILES['userfile']['size'] The size, in bytes, of the uploaded file.
$_FILES['userfile']['tmp_name'] The temporary filename of the file in which the
uploaded file was stored on the server
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e ever you need it
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
4.0.6 tomcat/1.0 (tomcat is not used for
FW> this pages)
FW> Has anybodey an idea whre to look for the cause?
FW> Thanks
FW> Fritz
If the data is coming from an odbc connected database you may need to take a
look at odbc_longreadlen()
--
regards,
Tom
--
PHP General Mailin
Hi,
Saturday, December 7, 2002, 7:15:38 AM, you wrote:
>> ini_set
G> ("include_path","/path/to/local/includes:"ini_get("include_path"));
>>
>> Then no matter what directory you are in you can just include("filename");
>>
>>
Get rid of that second session_start() you don't need it on included files only
on the main files which the browser is asking for.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
DO> mailto:[EMAIL PROTECTED]
The output function is wrong it should be
function generateSelectField() {
$theOutput = "name."\">\n";
foreach($this->value as $key=>$val) {
$theOutput .= "".$val."\n"; //this line
}
$theOutput .= "\n";
Return $theOutput;
}
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I use
>> it every day to... does it answer the question above?? ;)
>>
>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
Take a look at this one it seemed to b
Hi,
Sunday, December 8, 2002, 1:46:07 AM, you wrote:
S> Ok, I'm getting some weird errors. Here's the website:
S> http://check.melchior.us/module.php?id=3
S> I attached the output file. What am I doing wrong!?
S> - Original Message -
S> From: "Tom Rog
Hi,
Sunday, December 8, 2002, 4:22:52 AM, you wrote:
DN> Hi Tom,
>> >> I know the text editor question has been beat to death, but I'm looking
>> >> for a simple editor with syntax highlighting that can be installed in
>> >> Windows by a general use
$this ->DisplayButton($width,$name,$url);
SM> }
SM> echo "";
SM> echo "";
SM> echo "";
SM> }
SM> function DisplayButton($width,$name,$url)
SM> {
SM> echo ">$name";
SM> }
SM> function DisplayFooter()
SM> {
SM> ?>
SM> >
SM>
SM> width="1" height="300">
SM>
SM>
SM>
SM> }
SM> }
?>>
SM> Here is sample page usage of class file
SM> require ("include/adminclass.inc");
SM> $test = new adminpage();
SM> $title = "This is a Nice Page";
SM> $content = "Some Temporary Content";
$test ->>SetContent($content);
$test ->>Display($employeeid,$password,$title,$count);
?>>
SM> _
SM> MSN 8 with e-mail virus protection service: 2 months FREE*
SM> http://join.msn.com/?page=features/virus
Well it is telling you that
$this -> VerifyLogin($employeeid,$password);
Does not match your declaration of
function VerifyLogin($employeeid,$password,$count)
You are missing the count bit
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
cation of the socket (mysql default is /tmp/mysql.sock but I
don't know with RH)you could try
$link = mysql_connect(":/var/lib/mysql/mysql.sock" , "username" , "password")
If that fails, check the permissions of the path to the socket for the apache
user and that mysqld is running.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
my host about,
JF> or look for?
JF> Thanks,
JF> Justin French
JF>
JF> http://Indent.com.au
JF> Web Development &
JF> Graphic Design
JF>
Put this at the top of your page
$tz = getenv('TZ');
if($tz != 'Australia
gt; One idea which cam into my mind: might an error much later on in the page
FW> generation interrupt the output? It takes a few seconds to after the page
FW> starts to loud until the server closes the connection.
FW> Regards
FW> Fritz
Does the apache error_log give any
Hi,
Tuesday, December 10, 2002, 2:31:00 AM, you wrote:
FW> Hi Tom,
FW> I had this checked out before, but I did only check the errorlog for this
FW> virtual host, there is an entry in the error log of the main server for
FW> each request to the page in question:
FW> [Mon
me. But for this computer, both addresses give the same
>> result.
>>
>> So, I'm sure it's not the PHP script, so I'm looking for ideas of what I
>> should check, settings wise, on the client computer? Any help is greatly
>> appreciated.
>>
>> ---John Holmes...
Could it be adding a (NT) domain suffix to the username or something ?
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$end = $page->get_end();
$Query2= "SELECT * FROM db.table WHERE agent LIKE '%".$searchword. "%' ORDER BY
time_stamp ASC ";
$result = mysql_query($Query2) or die(mysql_error());
$hstring = $page->make_head_string('Results');
$pstring =
$page-&g
LIKE '%".$searchword. "%' ORDER
BY time_stamp ASC ";
TR> $result = mysql_query($Query2) or die(mysql_error());
TR> $hstring = $page->make_head_string('Results');
TR> $pstring =
$page->make_page_string("&searchword=".$sea
other character in HTML, and all php is doing is
creating the html for you. the # sign would only effect a difference in
PHP code within the , which when you are doing a query that
doesn't happen.
--
Tom
On Wed, 11 Dec 2002 15:45:18 -0800
Mike Smith <[EMAIL PROTECTED]> wrote:
> I h
/php') in /usr/local/www/data-dist/link.php
R> on line 142
R> Can I not use a $variable in an include 'something.php '; statement?
R> Thanks in advance,
R> Ron Clark
You have to use double quotes like:
include "path/to/$job"
or add like this:
include 'path/to/'.$job
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am using
mail("[EMAIL PROTECTED]", "testing 1234", "this is a test message");
?>
-thanks
tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
command, like ECHO? Maybe that way I can see what is going on
-tom
Jason Wong wrote:
On Friday 13 December 2002 04:00, Tom Culpepper wrote:
I am trying to get the mail() function to work right on my system and
while I get no PHP errors the mail is never sent. Running on a linux
server with PHP3 and
t; PHP 4.0.3pl1, Apache 1.3.9
QB> I am checking the configuration of a server before implementing on it - in fact, I
haven't got access to it yet, so, no, I can't try it and see.
QB> Thanks in advance
You will probably need to load it using dl() in your script
--
regards,
Tom
I actaully already wrote one like that. The PHP is going fine, the
problem I believe is PHP interfacing with my mail server. Thanks though
Steve Yates wrote:
"Tom Culpepper" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
while I ge
You can get the IP using getenv()
(http://www.php.net/manual/nl/function.getenv.php) not sure how you
would get the time zone though.
-tom culpepper
Jacob Mangalyajyothy wrote:
Hi All,
I would lik eto get the information about the location of the visitors to my
site like From which IP, What
Found this tutorial that might be helpful
http://martin.f2o.org/php/localtime
-tom
Jacob Mangalyajyothy wrote:
Hi All,
I would lik eto get the information about the location of the visitors to my
site like From which IP, What browser and which part of the world etc.
How can get the
eeping the PHP up to date is not a priority around here as we
are still on PHP3. Any thoughts on what this might be? Is the server
jsut showing it's need for an update again?
-tom
here is one example of the code I am using:
$xml_file = "data.xml";
echo "";
echo &qu
var) = each($_POST)){
if(substr($key,0,7) == 'required'){
$key = substr($key,8);
}
$input_vars[$key] = $val;
}
Then use the values from $input_vars
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
file: $testfile\n";
MK> echo "userfile_name: $testfile_name\n";
MK> echo "userfile_size: $testfile_size\n";
MK> }
MK> else
MK> {
MK> echo "no file updated";
MK> }
MK> }
Hi,
Saturday, December 14, 2002, 1:52:48 PM, you wrote:
MK> Thanks Tom, but still no luck.. it seems like it doesn't recognize $testfile
MK> variable at all in PHP script, even thought the globals are ON...
Put phpinfo(32); at the top of your file and see what is being sent
--
r
Hi,
Saturday, December 14, 2002, 5:55:12 PM, you wrote:
JW> On Saturday 14 December 2002 11:35, Tom Rogers wrote:
>> You are missing this bit:
>>
>>
JW> I am curious as to why so many people say this in response to file upload
JW> problems?
JW> In practice, non
Are PHP script supposed to run as the user or as the web server?
Currently I'm running Red Hat 7.3 with apache 1.3.x and all my PHP
scripts run as apache, not as the user. I'm wonder if I can run the
scripts as the user and how do I fix this?
Any help would be great!
--
PHP General Mailing Li
good value.
They have 24h telephone support but I have always got a good response on ICQ which is a
lot cheaper for me than a call to the US :)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ld mean
BG> that other sites would be able to potentially get my session variables,
BG> which isn't great.
BG> Probably very simple, so sorry if it's incredibly dull!
BG> Thanks,
BG> --
BG> Beth Gore
BG> http://bethanoia.dyndns.org
Session data is kept seperate for e
d use this
Then the log formatter would be .\"%{PHP_TITLE}n\"...
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
things to happen in php?
I guess time will tell :)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of programs, you should be using Apache 1.3 if
> you want to use PHP.
>
> There are a few combinations of versions that work together, but
> unless you are willing to put a lot of extra effort and study into
> using Apache 2, stick with 1.3 until the PHP developers announce
>
I'm new to using regular expressions so i'm struggling a bit in making an
expression to replace or with \n
$string = preg_replace( "/(|)/i" , "\n",$string);
which needless to say doesn't work. I'm sure its obvious, just need a bit of
a pointer!
Cheers
T
Yes, i thought it was simple, just wasn't escaping a forward slash
$string = preg_replace( "/(|)/i" , "\n",$string);
"Tom Beddard" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm new to using
val = base64_encode(serialize( domxml_open_mem( $xml )));
and on the next page:
$xml = unserialize(base64_decode($xml));
It works via html but don't know enough about soap
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e
>>>C:\PROGRA~1\WHATEVER\PROG.EXE). Is there any way to get the short name
>>>
>>>
>>>from a long name?
>>
>>Take a look at this:
>>
>>http://makeashorterlink.com/?V25A32BE2
>>
>>
>>
Try putting the long file nam
Have a look at phplib
http://www.sanisoft.com/phplib/manual/intro.php#intro.whatis.phplib
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
gt; while(list (,$value) = each ($line)) {
AR>print ">$value\n";
AR> }
AR> print "\t\n";
AR> }
AR> print "\n";
AR> mysql_close($link);
?>>
AR> ......
AR> Any help would be grea
g and
BC> passing (through sessions or otherwise) other object, I'm just not
BC> having any luck with the internal DOM object.
BC> Chris
Well to get rid of the error message you need to create a dummy dom object b4
you unserialize like:
$obj = domxml_new_doc('1.0');
But I could not get serialize to do the whole dom object only the first
level
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Wednesday, January 1, 2003, 4:01:35 PM, you wrote:
DR> oh have you got an example proper usage of it ? i had it working then
DR> suddenly i didnt :|
DR> -Original Message-
DR> From: Tom Rogers [mailto:[EMAIL PROTECTED]]
DR> Sent: Tuesday, December 31, 2002
display the destList value, it just show the "6" the last
EK> value...
EK> where goes wrong?
EK> Elaine Kwek
You need to call your select name as name="destlist[]"
Then php will know to expect an array list
--
regards,
Tom
--
PHP General Mailing List (http:/
it as an octal base number and 08 and 09 are not
legal
octal values. You have to use intval() on them.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
quot;;
AF> }
AF> echo"";
AF> }
?>>
AF> This is the error I get...
AF> Parse error: parse error, unexpected ':' in
AF> C:\Xitami\webpages\php\result1.php on line 12
AF> I dunno what I'm doing wrong. Help please???
Don't need the ."
Company SET Enabled = ".(1-$_POST[action]) ...
FML> Cheers!
FML> Mike
In mysql you can use the invert (tilde)operator like this:
select 5 & ~1 returns 4 so you could do
"UPDATE Company SET Enabled = (Enabled & ~1)" which will toggle bit 1 of
Enabled.
(Untested :)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
return $r;
}
function fetch_array($res,&$row,$type=MYSQL_ASSOC){
$r = 0;
if($row = mysql_fetch_array($res,$type)) $r = 1;
return $r;
}
function fetch_result($res,$field){
return mysql_result($r
' from it (not just set $a1[b] to ""),
DTG> how do I undefine that element?
DTG> TIA & HAND
DTG> :-D
unset($a1['b']);
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
gt;
VB>
VB>
VB>
VB> >
VB>
VB>
VB> Back to Account Management Tools
VB>
VB>
VB> and here is the content of auth.php
VB> //some code working with every other pages
?>>
VB> and mysql.php
VB> //mysql.php Include file initializing connection to db
VB> $db = mysql_connect(dbinfo goes here);
VB> mysql_select_db("proxy_db", $db);
?>>
That happens if you have mismatched braces {} or if(): endif; etc
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
this question may have been asked a couple of times already, unfortunately I
can't find the answer.
I have a complete PHP-webserver system up and running, based on a standard
redhat PHP distribution. The only thing that is missing are the XSLT
funtions. I managed to build php on a differe
I get "error: m4_defn: undefined macro:
_m4_divert_diversion"
maybe the versions are incompatible?
Any Ideas ?
Thx, Tom
"J Smith" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Since there's no PHP XSLT extens
Hi,
Tuesday, January 7, 2003, 10:23:54 PM, you wrote:
ME> Tom,
ME> Thanks for that.
ME> I don't have access to the server on which the site is being run but I'll suggest
the change to the hosting company.
ME> Michael Egan
ME> -Original Message-
ME> Fro
es
I think you should take a look at this :))
http://www.dyndns.org/
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
DB> page for inclusion in the rendered page.
DB> Hope someone can help!
DB> Thanks.
DB> Dave
I would do it like this:
$posted = base64_encode(serialize($_POST)));
echo '';
on the receiving end you need:
$posted = unserialize(base64_decode($_POST['posted']));
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You could use an include statement in one of two ways. 1) you can just
include the page that you want to show, however the url doesn't change it
will still be select.php 2) if you want to sent them to yellow.php or
green.php you could include an html page that had a meta-refresh in it set
for 0 sec
pp
What happens if you paste the php output directly into your mailer ?
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Mail servers play a part in this too. Maybe the admins should pack up
their servers and send them back too :)
-Original Message-
From: "Hendrik van Niekerk" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Thu, 9 Jan 2003 11:11:30 -0600
Subject: [PHP] Newbee observation
> Why does the webm
uot;
JEO> - Kabbalah
Do it like this:
$chk1 = (isset($_POST['chk1']))? $_POST['chk1'] : 'No';
replace 'No' with whatever you want for an unchecked box
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
full.
You can read about it here http://www.webdrive.com/
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
here any sources of information relating to this
area?
ME> Thanks in advance,
ME> Michael Egan
ME> --
ME> PHP General Mailing List (http://www.php.net/)
ME> To unsubscribe, visit: http://www.php.net/unsub.php
In your php.ini set arg_separator.output to &
That should fix it.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t; }
WG> The message I always get is "Print Missing User", so I must assume the
WG> global variable is not working. Can anyone help me out here?
WG> Thanks,
WG> Larry
Make sure you have session_start() at the begining of the second file.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
th = '.$info[0].' Hieght = '.$info[1]."';
Resolution is meaningless until you need to print it I think.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ime("+ 125 days");
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
o there is no need to use
the & operator in the call. At least thats how it works in a simple class.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Tuesday, January 14, 2003, 11:01:33 AM, you wrote:
P> -BEGIN PGP SIGNED MESSAGE-
P> Hash: SHA1
P> On Monday 13 January 2003 20:01, Tom Rogers wrote:
>> Hi,
>>
>> Tuesday, January 14, 2003, 9:36:57 AM, you wrote:
>> P> -BEGIN PGP SIGNED MESSAGE-
fo, for example with id=2, I only
ES> get
ES> ../images/militar.jpg
ES> hgfhgfh
ES> eze
ES> I do not get
ES> ../images/agosti.jpg
ES> Any idea?
ES> Thanks
ES> Ezequiel
ES> Ps. The page is located at http://www.historiadelpais.com.ar/bio.php?id=2
$respuesta
the only requirement being is a permanent link to the mysql
server.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It seems like it would be
PH> preferable to print() for this reason. On top of that, it will take
PH> multiple strings as input. I think I will remove the parentheses, though.
PH> -Peter
put it into single quotes and it is a bit tidier :) and you don't need the semi
colon if yo
and get a difference. Then get all dates from mysql as a
unix timestamp, apply the difference then use date() to format it as you want
and it will always match the clients time on their computer...even if they have
it wrong :)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
);
j> $descripResult = mysql_db_query($database,$descripQuery);
j>while($row = mysql_fetch_object($descripResult)){
$foo = $row->>descrip;
j> echo("");
j> echo("" . "$foo" . " | ");
j> echo("");
j> }
?>>
j>
Can someone please tell me why I'm getting this error:
*Fatal error*: Call to undefined function: mysql_connect() in
*/webs/tom/www.bohabcentral.com/www/bohabs/auth.php* on line *4
*mysql_connect was working a week or so ago, and I haven't made any
changes to the servers configur
Hi,
Monday, January 20, 2003, 1:59:17 PM, you wrote:
KJ> Karl
KJ> --
KJ> PHP General Mailing List (http://www.php.net/)
KJ> To unsubscribe, visit: http://www.php.net/unsub.php
its fine ... no html if thats what you mean :)
--
regards,
Tom
--
PHP General Mailing List (http:/
ccess.html !
S> Is there anything obvious that I am doing wrong?
S> Thanks,
S> Shams
S> p.s. I don't want to use else{} because I have lots of if() checks!
put exit(); after the failed header.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It turns out after some checking, the other admin on the machine ran a
kernel update last week. I hadn't been testing any scripts over the last
week myself so I didn't notice the issue until the other day.
When I run a function_exists() for mysql_connect it comes back false. When
I run phpinfo() t
Thanks, we're going to give that a try.
-Original Message-
From: Tracy Finifter Rotton <[EMAIL PROTECTED]>
To: Tom Ray <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Date: Tue, 21 Jan 2003 10:25:55 -0800
Subject: Re: [PHP] mysql_connect problem..update
> Talk to t
Hi,
Wednesday, January 22, 2003, 6:15:36 PM, you wrote:
HJ> Hello, there.
HJ> I'm Looking for 'Mohawk Software session handler functions' examples.
HJ> PHP Manual describes it http://www.php.net/manual/en/ref.msession.php .
HJ> But, There are no descriptions and examples.
HJ> Anybody has one?
$this->host = $host;
TR> $this->Username = $user;
TR> }
TR> function getuser($type = ""){
TR> if($type == "u"):
TR> return $this->Username;
TR> elseif($type == &quo
you would put that in the $mailheaders variable. Something like
$mailheaders = "From: Joe Bloe <[EMAIL PROTECTED]>\r\n";
$mailheaders .= "Cc: Some Dude <[EMAIL PROTECTED]>\r\n";
$mailheaders .= "Bcc: Some Other Guy <[EMAIL PROTECTED]>\r\n";
That should work for you. Just do this for whatever oth
p2,$ip1) = split('.',$ip1);
list$ip8,$ip7,$ip6,$ip5) = split('.',$ip2);
$ip = intval($ip1);
$endip = intval($ip5);
while($ip < $endip){
$storeip = $ip4.'.'.$ip3.'.'.$ip2.'.'.$ip;
//store it
$ip ++;
}
There
DLM>print " ";
DLM> print " ";
DLM> }
DLM> ?>
DLM> Unquote
DLM> Thanks
DLM> denis
put the value in quotes
value=\"$row[OrgName]\">
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sswd command on that user to
> change the password. Or maybe I am wrong, I never done something like
> that.
>
> Thanks for any info!
>
> -mNTKz
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.ph
;
ob_end_clean();
$dom = domxml_open_mem($buffer);
//check
echo '';
echo htmlentities($dom->dump_mem(true));
echo '';
?>
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
101 - 200 of 1845 matches
Mail list logo