tp://www.melchior.us
Try www.frozeonline.com
;)
--
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
reateParent, which 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
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
t might solve the problem. Use single 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
e feedback. 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 unsubscri
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 Ma
e from 0 to 9.
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 Ma
,$email[n]\n";
Of course the BCC list could be filled 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
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
include("");
If you wish for this to be a correct PHP statement, it should be:
include("");
Otherwise it will error.
--
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
I haven't tested 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
RY_STRING"]
equals 'questions', 'samples', etc...
$_GET['var'] requires that the link look like this:
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
I do 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 G
my mind..
$x = "mean"
help please...
$x = substr("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
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/)
T
ror";
Then, place an 'exit;' after the header(...) command to see if the
$delete variable is actually being 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
ot;;
$message .= "4th Line\n";
mail ("", $subject, $message, $headers);
TIA
As far as I've encountered, you can simply do the following:
--
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] this is a [b]bold[/b] test [/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
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
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)frozenonlin
:
]+>)([^<]+)(]+>)",'\\2',$text);
return $text;
}
print format_text('This shall be visible.');
?>
--
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
Thanks a lot, but do you know how to do the same with ereg_replace? I'm
trying to learn PCRE, but until I do, I won't be able to add anything to
this...
\\2',$text);
return $text;
}
print bbcode('[i]This[/i] is a [i]test[/i].');
?>
Works...
--
Kyle Gibson
ad
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 Gen
'[i]This[/i] is a [i]test[/i].');
?>
Prints:
This is a test.
--
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
e('[i]This[/i] is a [i]test[/i].');
?>
But it prints "This[/i] is a [i]test". Is there a better way to
do this?
",$text);
return $text;
}
print bbcode("[i]This[/i] is a [i]test[/i].");
?>
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
ng before that... what can
be wrong? Thanks 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;
?>
lts
$sec = mysql_result($res, 0, 'sec');
echo $sec; // pulls out sec as 2 ( 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 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/",&q
at is lost in standard applications 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
etime' => '20D', 'dayname' => 2);
$a['element3'] = array('btime' => '15D', 'etime' => '17D', 'dayname' => 3);
I would like to ask that how can I completely delete the $a['element2'] in
th
ply do the following:
$string = "string";
--
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
ated simply by...
${$name} = array(".
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
How do I get around this??
Make sure the 'users' directory 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
to a variable. Does 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($f
ipient, $subject, $message, $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
> 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
> 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.
ht
> 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
;
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 unsubscri
> 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
> 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.
>
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","",$row["row_name"]);
echo $content;
-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
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
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
ok at my phpinfo 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
along
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
It changes everytime, so it is hard to say.
I'm running on PHP 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
49 matches
Mail list logo