Version 4.0.6, if that helps.
Thanks,
Kyle Gibson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with the functions system(), shell_exec(), and exec().
Thanks,
Kyle Gibson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
page here:
http://php.plaguenet.com/MyAdmin/phpinfo.php.
Kyle Gibson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Whoops. It wont show unless you come from somewhere else...
Go here and click the link:
http://www.plaguenet.com/wreferer.php
Thanks,
Kyle Gibson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks, I'll try what you suggested.
-Kyle
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
My firewall prevented me from seeing the variable in action.
Ignore this.
-Kyle
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You entered data into a text area field that was entered into a mysql
row. Then you tried to print it out.
Try this:
$content = str_replace(\n,br,$row[row_name]);
echo $content;
-Kyle
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Those numbers don't look like timestamps to me (as they can't be larger
than about 4294967296). What they look like is the result of some imp or
perhaps even a gremlin breaking into your code and smooshing together
yearmonthdayhourminutesecond, then trying to PRETEND it's a timestamp.
My last guess, was to turn off my Firewall (*Norton* Personal Firewall)
and after that my PC returned a correct HTTP_REFERER!
Exactly what I did. Funky, huh?
Thanks,
Kyle Gibson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've tried this,
$cmd = `ftpwho`;
echo $cmd;
and/or
$cmd = shell_exec(ftpwho);
echo $cmd;
But I get this error:
Warning: Cannot execute using backquotes in safe mode in test.php on line 2
-Kyle
--
PHP General Mailing List (http://www.php.net/)
To
Your ISP has safe mode turned on which means you cannot use backquotes. Read all
about it at http://www.php.net/manual/en/features.safe-mode.php.
I am my own ISP, techically.
In the php.ini file, safe mode is off. Which is why I am curious as to
why this is occuring.
---
;
; Safe Mode
;
My clients aren't rich big money folks but I need a PHP capable host for
about $11ish or less a month. Traffic is minimal, and like I say the
only tech support calls I've had to make this past year were when the
hosting service tweeked and freaked something thus messing it all up.
What does phpinfo() have to say about it?
It says that the Local Value is on but the master value is off.
-Kyle
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the above, so it may not work syntactically but the
concept is the same...
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I was just curious, but what program or website do you all use to view and
reply to the newsgroups with ?
Fun Fact # 14:
Netscape 7.0
;)
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
include(!--#exec cgi=../cgi-bin/include/horoscopes.cgi --);
If you wish for this to be a correct PHP statement, it should be:
include(!--#exec cgi=\../cgi-bin/include/horoscopes.cgi\ --);
Otherwise it will error.
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP
of your site, regardless of
what the URL is unless you specifically state otherwise in the
robots.txt file.
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
programmatically...
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
In the above code you have $i = count($userVars)
The problem is that when $i = count($userVars), $i has surpassed the
position of the last time, thus causing it to return as being empty.
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http
is that when $i = count($userVars), $i has surpassed the
position of the last time, thus causing it to return as being empty.
Basically, just remove the '=' from $i = count($userVars)
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http
. Thanks!
I've been with RackShack for a little more than a year now and I and
very satisfied with them.
www.rackshack.net
Servers @ $99 per month
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
quotes
instead...
$connection = db_connect(Could not connect DB);
$SQL=SELECT id,PVLN from lhpl_side WHERE PVLN ='\Z';
$result= mysql_query($SQL,$connection) or die (mysql_error());
$num = mysql_numrows($result);
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP
Are my posts getting through? They appear to come back on the list but I
also get this response...
I see them, so I suppose the list has received them.
I got that same error yesterday. Hmmm. :\
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List
is a reference to the Parent object.
Then again, I haven't tested any of this, just going on some instinct here.
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;)
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, $headers);
//...end
The above code seems to work for me.
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
anyone
have an idea how to circumvent this problem?
Try:
$fp = fopen (http://www.example.com/;, r);
$data = ;
while(!feof($fp))
{
$data .= fread($fp,1024);
}
//$data now contains all the html for the website
fclose($fp);
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com
is chmod'd correctly (777) so your PHP
script has the ability (ie: permissions) to write/create files inside.
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(.
http://www.php.net/manual/en/language.variables.variable.php
Might help too...
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
like to ask that how can I completely delete the $a['element2'] in
the array? That's mean I will get 'false' in 'isset($a['element2']) after
the delete process is taken place.
Thanks for your help.
Use unset()
http://www.php.net/manual/en/function.unset.php
--
Kyle Gibson
admin
is minuscule.
One thing you might want to avoid is using comments inside loops.
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In the purpose of getting access to mydomain.se/ha/ I will set a cookie:
setcookie (login, OK, time()+3600, /ha/);
Not sure if this is the case, but try this instead:
setcookie (login, OK, time()+3600, /ha/,mydomain.se);
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com
( as is sposed to )
}
if (!$sec = 1){
Right there. Should be...
if ($sec != 1){
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in advance,
The headers for the page might have already been sent. If there is a
space at the top of your PHP file like below, any type of header change
wont work:
---top of file
?
header(Location: ...);
exit;
?
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com
].');
?
But it prints iThis[/i] is a [i]test/i. Is there a better way to
do this?
?
function bbcode($text)
{
$text = str_replace([,,$text);
$text = str_replace(],,$text);
return $text;
}
print bbcode([i]This[/i] is a [i]test[/i].);
?
--
Kyle Gibson
admin(at)frozenonline.com
http
\\])([^\\[]+)(\\[/i\\]),'i\\2/i',$text);
return $text;
}
print bbcode('[i]This[/i] is a [i]test[/i].');
?
Prints:
iThis/i is a itest/i.
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This code is simply not suitable. The object is to replace tags as an entity
as opposed to simply replacing '[' with ''.
Obviously not. I was not fully aware of what he required.
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http
] is a [i]test[/i].');
?
Works...
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Martin
Try the following:
?php
function format_text($text){
$text = ereg_replace(([^]+)([^]+)(/[^]+),'\\2',$text);
return $text;
}
print format_text('FONT COLOR=#8f8f15This shall be visible/FONT.');
?
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General
Thanks, but that doesn't allow nested tags (a [b] tag inside of an [i]
tag, for example).
Nested tags? Do you mean [ib] ? Or [i[b]]?
If you mean [ib], then I'm afraid what you want cannot be done in
ereg_replace.
As far as I am aware, that is.
--
Kyle Gibson
admin(at)frozenonline.com
http
I think he means:
[i]A sentence in italics, with a word in [b]bold[/b][/i]
Yeah he told me.
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
);
while($temp != $text)
{
$temp = $text;
$text = ereg_replace($pattern,'\1\2/\3',$text);
}
return $text;
}
print format_text('[i] this is a [b]bold[/b] test [/i]');
?
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing
, $headers);
TIA
As far as I've encountered, you can simply do the following:
?
$message =
This is the message I
wish to send with linebreaks...
all the way down here.
;
mail (, $subject, $message, $headers);
?
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com
passed.
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have an array $keywords, how do I test to see if it is empty? $keywords == '' seems to throw out an error.
Maybe...
if(count($keywords) = 0)
{
//...
}
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
(determine,-4);
For more information on SUBSTR,
http://www.php.net/manual/en/function.substr.php
;)
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to get Javascript working with PHP with ease? Any articles on this?
Thanks a lot... again. :)
If you show me some code I can look at, I might be able to assist you.
You should have no trouble executing JS on a file with a .php extension,
so long as it is incorporated into HTML.
--
Kyle Gibson
this:
a href=index.php?page=samples
You could then call $_GET['page'], which would contain the value samples.
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
49 matches
Mail list logo