Diana
I'm pretty sure that if you use:
ini_set("session.cookie_domain","interhotel.com");
(i.e. no dot before the domain) then that should work
tommy
"Diana Castillo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> I am using
> ini_set("session.cookie_domain",".interhotel.com"
That should work
what do you get with this:
$array = getData();
print_r($array);
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
inclHeader);
L> $header=$xls->header;
L> $data = $xls->getData();
L> $xls->close();
L> unset($xls);
Well from what is there that should work...very strange
does print_r show an empty array or nothing?
is $theArray created in the getData() function or is part of the clas
So if you don't need it to do $val substitution or "\n" type
stuff use single quotes.
You can always use the dot operator (.) to mix quotes and variables like this:
echo ''."\n";
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ork. Is there any way I can have "objects" saved in
BP> sessions?
BP> Bobby
you would have to give $user another key value
$options = array('income'=>10000.'age'=>25);
$HTTP_SESSION_VARS[$user] = $options;
$HTTP_SESSION_VARS[$user]['status'] = 'registered';
also in these cases print_r($HTTP_SESSION_VARS[$user]) can be your
friend.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, but as yet I'm unable to track it down.
Thanks in advance for any pointers on fixing this one!!
Cheers
Tom H
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ditor/ekit.php
>>
>>Todd
>>
>>
What I do in a similar situation is to pass the data in a hidden field
and then pass that to the java applet. As it is html you will be
passing you have to use rawurlencode($data) in the php script
In the html part
..
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nge the contents :)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$function();
>>
>> Better still:
>>
>> $functon(); // [sic]
CJWH> LOL... No, you don't have to worry about that. Isn't PHP smart enough to
CJWH> know what I mean??
CJWH> ---John Holmes...
I think the ini file has enable_smart_typist set to on by default, causes me all
types of hassles :)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
I am havening a problem retrieving url from a mysql database. I have the
url's stored as text and am using the following code to retrieve them
$query = "SELECT name,url FROM clubs WHERE url>'' ORDER BY name";
$result = @mysql_query($query) or die ("Query failed");
if (mysql_num_rows($resul
path - but my next job (which is already committed to this same
TT> host) is fairly large and will be a necessity for the change to occur.
TT> Thanks
TT> -Tim
You can do this at the top of each page if all else fails
ini_set('include_path','new_include_path:'.ini_get(
Hi,
Im using php 4.3.3 on win 2000 server, and ive enabled extensions like so;
extension=php_gd2.dll
extension=php_gettext.dll
and set the extension_dir to C:\php\extensions
and php loads the gd2 library ok, it just fails to open the gettext dll.
with a "PHP Warning: Unknown(): Unable to load dyna
ething
EL> }
EL> it doesn't do:
EL> if (($var === 'TEST-1') || ($var === 'TEST-1') || ($var === 'TEST-1'))
EL> {
EL> do something
EL> }
You can do it this way I think :)
switch (true) {
case ($va
echo "";
CA> echo $date2;
CA> echo "";
CA> echo "";
CA> }
CA> How can I do this and make it work?
CA> Thanks in advanced,
CA> Cesar Aracena
CA> www.icaam.com.ar
strtotime() retur
Hi,
Thursday, September 18, 2003, 2:53:53 PM, you wrote:
CA> Thanks Tom, but using only the strtotime() and later the date()
CA> functions, the page throus the following error:
CA> Warning: unexpected error in date() in e:\wwwroot\videoteca\index.php on
CA> line 52
CA> Now my
Hi,
if I have a statement like this;
$success = @include "somefile.inc";
under normally runnning in win2000 php 4.3.3 $success is true if the file
somefile.inc exists, but when run under the server debugger, $success is
false, unless somefile.inc has a return statement such as;
return 1;
in i
content'=>'The username that you choose must'),
1 => array(
'title' =>'password',
'content'=>'The password that you choose must));
Then it is easy to navigate as the next and previous will always be numerical
keys
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
echo "File Name: " . $_FILES['userfile']['name'] . "";
SK> echo "File Type: " . $_FILES['userfile']['type'] . "";
SK> output:
SK> Temp Name:
SK> File Name: news.pdf
SK> File Type:
SK> Shad Kaske
what do you get in $_FILES['userfile']['error']
It might give you a clue
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;>
>> >>>My eyes are completely fried -- anyone feel like saving my vision?
>> >>
>> >>This often is difficult to detect when there's is implicit output
>> >>outside of the > >>script and see if there is any whitespace or newlines preceding the tag.
>> >>
>> >>HTH,
>> >>Rob.
>> >>--
>> >>..
>> >>| InterJinn Application Framework - http://www.interjinn.com |
>> >>::
>> >>| An application and templating framework for PHP. Boasting |
>> >>| a powerful, scalable system for accessing system services |
>> >>| such as forms, properties, sessions, and caches. InterJinn |
>> >>| also provides an extremely flexible architecture for |
>> >>| creating re-usable components quickly and easily. |
>> >>`'
>> >
>> >
Try this
in.php contains:
';
phpinfo(32);
echo '';
echo $_SERVER['argv'][1];
?>
That should do what you want if I understand the problem :)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$tail = "FROM: ".$_POST['Email'];
else:
$tail = "FROM: ".$_POST['email'];
endif;
}
else{
$tail = "FROM: Unknown
=====
RR> Nobody is free until everybody is free.
RR> --William T. Atkins
you can download it from here
http://sourceforge.net/project/showfiles.php?group_id=69426
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ame text.php on line 33
UST> is there any other way to avoid displaying this warning error..??
UST> Regards,
UST> Uma
Don't do a search with an empty token :)
$pos = false;
if(!empty($token)){
$pos = strpos($string,$token);
}
if($pos){
do whatever;
}
--
regards,
Tom
--
P
it is taking
UST> as zero value and executing the steps under equal to zero loop..Is there
UST> any method avoid doing that ??
UST> Regards,
UST> Uma
You need to use
if ($pos !== false) {
//pos found
}
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net
you're supporting a
>>>programmer, and not a company.
>>>
>>
>>--
>>PHP General Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
DM> ______
o.com
You could put this at the top of each page
putenv('TZ=Asia/Bangkok');
That will correct all PHP functions, not sure about database times though
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ciated.
H> Haseeb
H> IncrediMail - Email has finally evolved - Click Here
call up the vpopmail executables using system() calls should work just as well.
Also probably more reliable as they will lock the qmail files before changing
values.
--
regards,
Tom
--
PHP General Mai
wrote in message
DK> news:[EMAIL PROTECTED]
Sounds like your web host has put an auto-prepend file with a kludge to emulate
globals being on to get rid of all the complaints about scripts failing :)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Sunday, September 28, 2003, 5:39:53 PM, you wrote:
j> I found this function, setlocale...
j> now, is there a way to GET the LOCALE setting of a machine?
j> Walter
call setlocale with 0 (zero or NULL) as the second parameter and it returns the
current setting
--
regards,
Tom
hp which
is running on the server. Split it into 2 pages and change the first href to
Then on the second page it will show up as $_REQUEST['nummer'}
I think you are trying to do too much in one go :)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubs
There are still a few display bugs to iron out but it will be a good start :)
It will only work with ole2 xls files at the moment.
Let me know if it will help and I will send you the files.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n do
if(isset($_POST['exercise'])){
foreach($_POST['exercise'] as $key=>$val){
echo 'Key '.$key.' val '.$val.'';
}
}
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
orth it I think.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Wednesday, October 1, 2003, 1:25:09 AM, you wrote:
j> returns the current setting
j> Thanks Tom...
j> Now, if I understand this properly,
j> This should return French_France...
j>setlocale (LC_ALL, 'fr_FR');
j>echo setlocale (LC_ALL, '');
Hi,
Wednesday, October 1, 2003, 2:15:10 AM, you wrote:
j> "Tom Rogers" <[EMAIL PROTECTED]> wrote in message
j> news:[EMAIL PROTECTED]
>> Those locales actually have to be available or they will be ignored and
j> that
>> will depend on what type of system yo
a works and not worry about how it stores its
data. With this method if we change the variable name in class a to $new_a the
code will still work, where as $class_b->a->var_a will now fall in a heap.
Hope this helps
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i didn't manage .. so i decided to do
N> it this way
N> any comment ?
You are better using something like vpopmail that creates virtual accounts
without the need for system accounts.
http://www.inter7.com/vpopmail.html needs qmail but the other mail systems can
do similar things and not
ptr = 0;
$word1 = (ord($binary_data[$ptr+1]) << 8) | ord($binary_data[$ptr]);
$ptr +=2;
$word2 = (ord($binary_data[$ptr+1]) << 8) | ord($binary_data[$ptr]);
or
$str = substr($binary_data,0,2);
$up = unpack("vword1/vword2",$str);
will give you an array
$up['word1'] a
***
CP> --
CP> PHP General Mailing List (http://www.php.net/)
CP> To unsubscribe, visit: http://www.php.net/unsub.php
-86 actually looks like FFAA which if you then look at unsigned is pretty
big :)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
TR> -86 actually looks like FFAA which if you then look at unsigned is pretty
TR> big :)
TR> --
TR> regards,
TR> Tom
Maybe what you need is the abs() function which ignores the sign of a number
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To uns
es in my variables wouldn't be passing?
JRB> Thanks in advance,
JRB> Jed R. Brubaker
Use hexdec() function
$hex1 = hexdec(substr($color,0,2});
$hex2 = hexdec(substr($color,2,2});
$hex3 = hexdec(substr($color,4,2});
and it just passes normal numbers to ImageColorAllocate($im, $hex1,
Hi,
Friday, October 3, 2003, 4:39:32 PM, you wrote:
CP> Yeah abs() looks like it would do the trick
CP> I wonder if the same output would be generated using C's sprintf()
CP> Too bad i dont have access to C... oh well
>> -Original Message-
>> From: Tom Roger
#x27;Image', 'desc')
CM> VALUES ('2419091.jpg', 'stone')' at line 1
CM> --- end error--
CM> I found if i just try and record the name value it works fine but if i try
CM> to add the description i get the error.
CM> Any clues?
C
lass'];
else:
$this->mysql = new mysql_class();
endif;
if(!empty($this->mysql)):
$this->con = $this->mysql->get_handle($this->db);
endif;
.
.
}
.
.
}
This way there is only need for 1 instance of the mysql class.
I use global as a bad habit, but you can do the same with $GLOBALS['class_ref']
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
dvance,
JW> John Wilcox
JW> __
JW> Do you Yahoo!?
JW> The New Yahoo! Shopping - with improved product search
JW> http://shopping.yahoo.com
Do this to see what is available in your enviroment, it would seem that USER is
not being set by the system o
rtable with and works for you. Of course you have to keep security
issues under control as well, it would be no good doing this if you run with
register globals set to on as the array could very easily be trashed.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
Hi,
Monday, October 6, 2003, 2:10:46 PM, you wrote:
RC> On Sun, 2003-10-05 at 23:37, Tom Rogers wrote:
>> Hi,
>>
>> Well I must have missed that one :)
>> My answer, if GLOBALS were not meant to be used they wouldn't be there..
>> So if they make life easier
AW> elseif (getenv("REMOTE_ADDR"))
AW> {
AW> $ip = getenv("REMOTE_ADDR");
AW> }
AW> else $ip = "UNKNOWN";
AW> Thanks,
AW> Adam
Convert the ip numbers to integers and check if the incoming ip is within range.
You can use ip2long();
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Thursday, October 9, 2003, 1:37:57 AM, you wrote:
RR> On Tue, 7 Oct 2003 23:22:02 -0700
RR> Raquel Rice <[EMAIL PROTECTED]> wrote:
>> On Tue, 7 Oct 2003 17:06:13 -0500
>> "erythros" <[EMAIL PROTECTED]> wrote:
>>
>> > you probably just want what everyone wants... a seperation of
>> > design f
w use templates so it is redundant.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. "
EN> -Leo Nikolaevich Tolstoy
I personally like to hear about anything even slightly involving PHP. if it is
of no immediate interest then I ignore it. Sometimes it makes a welcome change
to all the 'chatter' :)
(Before anybody screams the 'chatter' has taught me a lo
icketed]";
$sql = 'UPDATE wo SET status = 1 WHERE ticket = '.$HTTP_POST_VARS[ticketed];
The other good habit is to put the value in single quotes:
$sql = "UPDATE wo SET status = 1 WHERE ticket = '$HTTP_POST_VARS[ticketed]'";
$sql = "UPDATE wo SET status = 1
thanks,
DC> Diana
$num = sprintf("%02d",$num); is what you need
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hp.net/manual/en/security.filesystem.php
CZ> HTH,
CZ> Curt
CZ> --
Or drop the quotes they are not needed if there are only variables involved
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
gt; # the output is without $content :
DA> Array
DA> (
DA> [info] =>
DA> [file] =>
DA> [orig-file] =>
DA> [orig-author] =>
DA> [bitmap-src] =>
DA> [orig-date] =>
DA> [svg-date] =>
DA> )
DA> */
the function characterData
VER['HTTP_USER_AGENT'])
|| eregi("Nokia",$_SERVER['HTTP_USER_AGENT'])
|| eregi("Wapalizer",$_SERVER['HTTP_USER_AGENT']))$mode = "XML";
This was from a while ago but you get the idea
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Sunday, October 12, 2003, 4:53:27 PM, you wrote:
JF> On Sunday, October 12, 2003, at 12:02 PM, Manuel Vázquez Acosta wrote:
>> Take a look at what is printed by:
>>
>> var_dump($_SERVER);
>>
>> Maybe the HTTP_USER_AGENT can lead you to somewhere out of this
>> problem.
>>
>> Manu.
>>
>> "Sh
nnection if you make one.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
,
R> Rosen
looks like a good start :)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
connections as all other attempts should be
ditched by apache or whatever before php gets involved...in theory anyway :)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> SSL and non-SSL virtualhosts. :-)
EL> And $_SERVER['HTTPS'] is so much easier to check for existence!
I couldn't remember what variables were set so I said to use phpinfo and see
what pops upyou are probably right :)
--
regards,
Tom
--
PHP General Mailing List (http:
hing like this
OK> value=¨¨>
OK> but it doesn't work. Maybe you mean something totaly different, can you
OK> show me what you mean.
Make sure you put the hidden part between form tags
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
en if that file gets
corrupted.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
well.
TR> NOTE do not meddle with the wtmp file by opening it in anything other than
TR> readonly mode as all kinds of nasty things can happen if that file gets
TR> corrupted.
TR> --
TR> regards,
TR> Tom
This may help if you are on a newish Linux:
$len)? $len:$left;
s
with the utmp and wtmp files. You can uncomment the hexDumpChar($buf,16);line to
see what it looks like.
BTW that unknown field is the micro second bit of the time
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Wednesday, October 15, 2003, 5:13:39 PM, you wrote:
LM> Crap entry 1546673160
LM> This one gave me this error. Every line on the wtmp entry.
If you are using netdate that writes crap wtmp entries (at least mine did till I
fixed it :)
--
regards,
Tom
--
PHP General Mailing List
t;;>
Welcome tomy test page.
then hit test.php with your phone and see what turns up
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t_tag_data".
A> And, it appears the object is gone after I leave the page.
A> Will the class structure do this for me or must I save the values in
A> $GLOBAL or something?
A> Thanks
You need to pass the values to the next page or save them in a session
--
regar
e.
JF> I think I need:
JF> "/$quote(*)$quote:$quote(*)$quote/"
JF> Where is substituted for the correct expression -- but my
JF> skills aren't there yet :)
JF> Justin
I think you need (.*?) to stop the * being greedy, but I am no guru on this
martian language
return $this->message;
}
function getmodulename(){
return $this->modulename;
}
function getid(){
return $this->sessionid;
}
function getlifetime(){
return $this->sessionlife;
RA> problem how can we stop him by making changes on our server or what to
RA> do?
RA> Please HEAALP (help)
RA> Cheers,
RA> -Ryan
encrypt the numbers and decrypt them before use, if they wont decrypt to a nuber
ditch the connection. If you need a class for that I can se
Hi,
Monday, October 20, 2003, 10:38:23 AM, you wrote:
RA> Hi Tom,
RA> Thanks for replying.
>> encrypt the numbers and decrypt them before use, if they wont decrypt to a
RA> nuber
>> ditch the connection. If you need a class for that I can send it to you
RA> Yes please,
de them. If he is
inventing url
variables that happen to match ones you are using then setting them at the start will
be enough
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
= $height;
}
function b(){
$b =& $this->a;
echo 'height '.$b['height'];
echo ' width '.$b['width'].'';
}
}
cuts down on the $this-> and maybe more readable.question of taste really :)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Tuesday, October 21, 2003, 12:52:33 PM, you wrote:
OMH> Hi Tom,
OMH> I've got a question for you regarding this encrypt class of yours.. Just
OMH> wanted to understand how well it would work against a guy with a sniffer
OMH> such as ethereal. (presuming he's on the LAN/
sign your own certs :)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
base/
cnbl/
clang/
Vnewbanner/
vdownload/
a20free/
cthema/
a8nom/
a13prenom/
a61adres/
a31ville/
a13teld/
a13telp/
a41home/
a7gra/
a13priv/
a7filtre/
a13pass/
czip",$input);
print_r($array);
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
; cnbl/
TR> clang/
TR> Vnewbanner/
TR> vdownload/
TR> a20free/
TR> cthema/
TR> a8nom/
TR> a13prenom/
TR> a61adres/
TR> a31ville/
TR> a13teld/
TR> a13telp/
TR> a41home/
TR> a7gra/
TR> a13priv/
TR> a7filtre/
TR> a13pass/
TR&
JW> Can anyone help me out here?
JW> Thanks,
JW> Jason Williard
change your call to @fsockopen() which will tell it to ignore errors
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
you use ImageCreateTrueColor() for the second image.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ping!!!
VE> Greetz, Vincent
This should now work:
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sql have a look at 'order by random' and limit
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've looked through both my php.ini and httpd.conf and can't
PG> seem to find anything there that would remedy this problem.
PG> Does anyone have any advice as to where I should be looking to fix this
PG> problem?
PG> Thanks much in advance.
PG> Cheers,
PG> Pablo
make
eq);
deo> while (!feof($fp)) {
deo> //read the data returned...
deo> $res = fgets ($fp, 1024);
deo>echo $res;
deo> }
deo> fclose ($fp);
deo> }
you probably don't need this in the header
$header.= "$req\n";
but I have no idea what $req contains
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Thursday, October 23, 2003, 10:32:18 PM, you wrote:
deo> $req = "&field=1";
deo> its the data i need to post
But you are sending it twice, and there has to be a cr/lf between the header and
the data I think.
--
regards,
Tom
--
PHP General Mailing List (htt
Hi,
Friday, October 24, 2003, 2:11:43 AM, you wrote:
PG> Hi Tom.
>> make sure you have ENCTYPE="multipart/form-data" in the form tag
PG> Thanks for the tip, but that's not the problem. My code is below, and
PG> as you can see there is nothing in the code that wou
Hi,
Friday, October 24, 2003, 2:11:43 AM, you wrote:
PG> Hi Tom.
>> make sure you have ENCTYPE="multipart/form-data" in the form tag
PG> Thanks for the tip, but that's not the problem. My code is below, and
PG> as you can see there is nothing in the code that wou
k you,
HI> Ivo
HI> --
HI> PHP General Mailing List (http://www.php.net/)
HI> To unsubscribe, visit: http://www.php.net/unsub.php
You probably need this if on apache
apache_request_headers()
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"//[EMAIL PROTECTED]'portalroot']");
$portalroot = $nodes->nodeset[0];
$new_xml = $portalroot->append_child($newnode);
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
A> What am i missing?
RA> Thanks,
RA> -Ryan
You have a backtick instead of a quote (`%)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have been trying to write some code for a simple menu system. The idea was
that every item on a menu should be tied to anouther to give a menu
structure.
To do this I have tried to use the following code. Some of it I have added
in to try and understand why its not really working.
My first probl
I have made this function which should be quite simple but doesn't seem to
do what it is meant to.
What I want it to do is create an array where there is a numbered key (the
rows of the table) and the colume headings as the second key.
It doesn't seem to work. If I set $pid=0 then I get no results
I am having problems sorting stuff into an array. It doesn't seem to work
quite how everything I read says it should. It is probably my understanding
of it but either way I don't really know whats going on.
I am trying to put everything out of a table into an array so I can call up
the individual
;
CWP>." $somevalue\n"
CWP>." \n"
CWP> ."\n";
I find the . operator to be very slow with strings :)
(slow being relative of course)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
an awful lot of spam :)
http://www.bluebottle.com/
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Sorry that link was not what I was thinking of, here is a better one.
http://hr.uoregon.edu/davidrl/confirm/
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
x27;value'];
}else{
$name = 'No Supplied';
}
I now type
$name = req::post('value','Not Supplied');
The class is very small and just needs including (I have it in an auto prepend
file) and you don't need to create an instance as it has no internal variables
to worry about.
You may find it useful..
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
he OR first like this
$string = '';
for($x=0;$x<4;$x++){
if(!empty($string)) $string .= ' OR ';
$string .= 'word';
}
This way OR only gets added if there is already something in the string
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
mple
php pages this thing works fine. But (obviously) it does not work for
pages requiring parameters.
So my question is what exactly the php executable searches for in the
environment? Which are the (CGI???) variables I'll have to set so that
it will process POST and GET correctly?
Tnx i
ername and
ST> 'pass' as the password, as that was one of the two combinations the
ST> first bit of code above inserted into the table auth. After submitting,
ST> I got the customized error message: "Go Away! You are not authorized to
ST> view this resource."
ST
{
$key = $char;//first result set key
else{
if($key != $chat){
echo '';
$key = $char;
}
}
//rest of loop
}
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
601 - 700 of 1845 matches
Mail list logo