() {
var_dump($this-occ_parking_spaces)
}
};
What bothers me here is that I'm actually having a list of child classes in
the parent class, is there a better/correct way to do this?
I hope I made myself clear.
Greetz,
Yeti
*/
?
(2001:0DB8::CD30::::)); // true
var_dump(validate_ipv6(FF01:0:0:0:0:0:0:101)); // true
var_dump(validate_ipv6(bananas)); // false
var_dump(validate_ipv6(1:2:3:4:5:6:7:8:9)); // false
?
anybody with better ideas?
Yeti
[EMAIL PROTECTED] wrote:
This one time, at band camp, Yeti [EMAIL PROTECTED] wrote:
Now i was wondering of what there might be the best way to validate an
IPv6
address.
from this url..
http://phpro.org/tutorials/Filtering-Data-with-PHP.html#9
?php
/*** an IP address
);
}
//echo remove_accents(CÀfé); // I know it's not spelled right
echo remove_accents(áàéèíìóòúùÁÀÉÈÍÌÓÒÚÙ); //OUTPUT (again: i used UTF-8
for document): aaeeiioouuAAEEIIOOUU
?
Ciao
Yeti
On Mon, Jul 14, 2008 at 8:20 PM, Andrew Ballard [EMAIL PROTECTED] wrote:
On Mon, Jul 14, 2008 at 1:35 PM
( ÂÊÎÔÛÀ), -AEIOU);
$string = strtolower($string);
return $string;
}
On Tue, Jul 15, 2008 at 11:38 AM, Yeti [EMAIL PROTECTED] wrote:
I dont think using all these regular expressions is a very efficient way to
do so. As i previously pointed out there are many users who had a similar
problem
there has ...
Yeti
On Tue, Jul 15, 2008 at 7:17 PM, Andrew Ballard [EMAIL PROTECTED] wrote:
On Tue, Jul 15, 2008 at 12:30 PM, tedd [EMAIL PROTECTED] wrote:
At 10:15 AM -0400 7/15/08, Andrew Ballard wrote:
On TueWell, OK, I can think of one optimization. This takes advantage of
the
fact
to believe that there is no solution
to this caching.
Thanks guys!
On Jul 22, 2008, at 8:26 AM, Yeti wrote:
The Last-Modified header tells the browser when the requested page was
last modified. Now I don't know how you get the date in your case but here
is an example:
browser requests /test
references instead?
I'm grateful for any ideas, thoughts or experiences
Yeti
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
?php
# So if i want a copy in PHP, like:
$a = $b;
# In PHP5 $a would still be a reference as long as $b is not being changed?(!)
# Such behaviour makes it extremely easy to write a speedy script
without worrying about copy/reference issues!
# Thanks to all of you,
# Ernie
?
--
PHP General
If I fully understood the question you were asking then no.
Since it seems you are using a database there is no need to serialize.
You can write a simple function that fetches user data from a DB query
and then creates the object.
If you are going to use sessions you will have to do that only when
?php
*# Hello Community
# Internationalisation, a topic discussed more than enough and YES, I am
looking forward to PHP6.
# But in reality I still have to develop for PHP4 and that's where the dog
is burried ^^
# We have a customer here who is running a small site, but still in five
different
supports multi byte strings in
PHP4, so I'm wondering if I did this right ..
On Fri, Aug 1, 2008 at 5:06 PM, Andrew Ballard [EMAIL PROTECTED] wrote:
On Fri, Aug 1, 2008 at 9:50 AM, Yeti [EMAIL PROTECTED] wrote:
?php
*# Hello Community
# Internationalisation, a topic discussed more than
?php
$file = '/example/hello.php';
$info = pathinfo($file);
$not_allowed = array('php', 'pt', 'exe');
if (!in_array(strtolower($info['extension']), $not_allowed)) {
// do something
}
// why use a regex?
?
On Mon, Aug 4, 2008 at 4:44 PM, Manoj Singh [EMAIL PROTECTED] wrote:
Hello All,
I have to
Backups? What's that?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How about this one?
function recursive_mkdir($dir) {
if (is_dir($dir)) return true;
if (recursive_mkdir(dirname($dir))) return @mkdir($dir);
return false;
}
On Thu, Aug 21, 2008 at 1:04 AM, Ashley Sheridan
[EMAIL PROTECTED] wrote:
Whats even more fun is inheriting
So it is faster to output various strings using the , instead of .?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
That is why i love this list. Always something new to learn.
What I am still wondering about is if it is faster to use commas or
the {} brackets? ( I don't know how that technique is called, since
I'm not a walking dictionary)
Example:
$var = blah blah;
echo $var,test;
echo {$var}test;
--
PHP
Bernhard wrote:
echo $test_string, $array_value;
It seems like they echoed them
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
?php
# this one worked fine for me, but it does not cover the full RFC
like: name [EMAIL PROTECTED] OR name [EMAIL PROTECTED]
$regex =
^[a-z0-9,!#\$%'\*\+/=\?\^_`\{\|}~-]+(\.[a-z0-9,!#\$%'\*\+/=\?\^_`\{\|}~-]+)[EMAIL
PROTECTED](\.[a-z0-9-]+)*\.([a-z]{2,})$;
if (eregi($regex, $email)) {
// do
That Rx.com domain name is really great stuff, but how do you expect
the average user to type it in?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm wondering why you are using uuml;. If you had your site in UTF-8
it would not be necessary. Even google is using UTF-8 these days.
I guess your browser automaticly converts the uuml; in your textarea
into the namespace-proper ü.
You could try using htmlentities to convert the into amp; or
There we go .. from concatenation to Who knows a song nobody can guess right?.
Crazy Horses - The Osmonds
http://www.youtube.com/watch?v=MyRiNZDb5EY
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ross McKay [EMAIL PROTECTED] wrote:
Find out what bad is by reading this:
http://thedailywtf.com/Series/CodeSOD.aspx
Then, don't do it like that!
What I enjoyed most on that page was this comment:
One day, after a code review by one of our 'senior' developers this little
beauty showed
I uninstalled it precisely beacause of this behaviour. The disk was
running crazy every time chrome was started.
And I don't know how to do lsof | grep chrome on Windows to see what's
going on.
LSOF for winblows:
http://download.sysinternals.com/Files/ProcessMonitor.zip
--
PHP General
Not so good if you're using lynx, or if you're blind, I guess.
I often tell my clients the reasons for accessibility and usually i
get the answer We don't have any blind customers so we don't care
about them. So much for fair play in the web.
--
PHP General Mailing List (http://www.php.net/)
I would use an unserializer.
http://code.activestate.com/recipes/414334/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and using safe mode as in ...
http://forum.mamboserver.com/showthread.php?t=44514
A yeti
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
?php
#let's say we got following string:
$some_string = 'br /blah blahbr /blah blahbr /';
var_dump(explode('br /', $some_string));
/* OUTPUT:
array(4) {
[0]=
string(0)
[1]=
string(9) blah blah
[2]=
string(9) blah blah
[3]=
string(0)
}
*/
#So as you see index 0 and index 3 are
#.htaccess
RewriteEngine on
RewriteBase /
#Apache recurses into htaccess 3 times so we have to make sure not to
overwrite an already processed rule
RewriteCond %{REQUEST_URI} !^.*(\.php|\.css|\.js|\.html|\.ico|robots\.txt).*$
#The rewrite condition below can be used to pass through GET
)+'['+document.referrer.length+']):
'+document.referrer);
/script
/head
body
h1Referred page/h1
?
$page = ($_GET['ref']) ?
@gzinflate(base64_decode(urldecode($_GET['ref']))) : 'not found';
echo REFERRER
h2Referring page: $page/h2
REFERRER;
?
/body
/html
#
A yeti
--
PHP General
to describe 3d/2d objects or styles with a
language like CSS. Do you think that will be possible in the near
future?
A yeti.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What's the point of using '{0,}' instead '*' ?
Well the thing is that with the {0,} more REQUEST_URIs are valid:
eg.
/blog
/blog/
/blog/17
/blog/17/
/blog/17/0
/blog/17/0/
AND additional characters get ignored (like when it is necessary to
reload content with javascript, due to caching issues)
Jessen wrote:
RewriteRule ^blog/([^/]+)/([^/]+)/ blog.php?getparam1=$1getparam2=$2
[NC,QSA,L]
Of course, your truely does what the OP asked for + it cuts of all
strings after the last /
/A yeti
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
You are absoloodle right about that. Although I'm not sure about their
greediness, which might be different.
I prefer the '{0,}' in my rewrite rules because I usually define the
max-length to prevent code injection.
eg.
# to make sure only the first 8 chars get passed on to PHP
RewriteRule
Well after looking at the template thing you posted with your link it
seems to me like PHP is used to create working XML. So i wonder why
you are using AJAX here.
Now could it be that you use appendChild() ? That function would
simply add the XML again.
It's not easy to tell if you are not
Ok, so empty is faster. I appreciate the time you guys took to bench the thing.
But I'm still gonna use array_key_exists.
If you like it or not.
Using it a couple of times in my scripts will slow them down a few nanoseconds.
That's plain evil mwhahaha.
//A yeti
--
PHP General Mailing List (http
5.2.0
?
Secondly the MIME type can differ from the extension (file suffix)
It's the same with uploaded files. Although the browser sends the MIME
type it might not be the right one, since browsers obtain the MIME by
checking the extension.
//A yeti
--
PHP General Mailing List (http://www.php.net
You might also want to try array_key_exists
if (array_key_exists('loggedin', $_SESSION['userInfo'])) {
// do something with $_SESSION['userInfo']['loggedin']
}
//A yeti
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there any function in PHP to get the file/Mime type of any file?
check this out:
http://us2.php.net/manual/en/function.finfo-open.php
//A yeti
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Personally, I very rarely see the point in using array_key_exists... It's a
function call and has overhead where as isset() and empty() are language
constructs and (I would hope) are much more efficient (although I've not done
any benchmarks)
# i don't know what's wrong with this ..
$foo
You encrypt stuff with a string that you keep secret. That string is needed
to decrypt the string.
I recommend you change that string once in a while.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
but whose counting :-))
Someone is for sure. Maybe the scheduler?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ok, but how safe are tokens?
Thinking of man in the middle attacks they do not make much sense, do they?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
statement $search would only
be set, if there is a $_GET['search']
//A yeti
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Wrong. They are equivalent. The second is probably just easier to follow
with a clearly defined default value outside the conditional block.
Well, leaving out the default value at the 2nd if statement makes a
difference and that's what I did.
Here is the code I changed again ..
Set to
True, but then my permission / auth / workflow schema defines all that. the
user won't like have that permission, the request will be logged and nothing
is ever deleted from the app in any case since I only allow soft (record
level flag ) deletes to ensure data integrity
I agree with Bastien
OP = original poster (in this case I guess)
http://acronyms.thefreedictionary.com/OP
So it's all about making code readable and probably easier to maintain
(even people unfamiliar with the script).
Doesn't that render the ternary operator IF-statement unnecessary?
Have I been totally wrong using
-help: invalid argument
I like the way you handle input errors in your php-general subroutines David.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
A neat way to transcode between different encodings is htmlentities
and html_entity_decode [1, 2]
EXAMPLE:
?php
# encode a string in UTF-8 to html entities
$string = 'øæåöäü';
$string = htmlentities($string, ENT_QUOTES, 'UTF-8');
# transcode it into ISO-8859-15
$string =
Well maybe it is because he has register_globals on why he is not
printing a list of valid arguments.
imagine something like this ..
@php-generals$ [PHP] -help
List of valid arguments:
-c, --make-me-forget erases the built-in mainframe's short term memory
-f, --flush-me erases the entire memory
If you are in control of you DNS records you could CNAME [1] the sites
to the same address, where a PHP script or RewriteRule [2] loads the
specific configuration by checking the requested URI. Since you got
them on the same server anyways this would not cost any performance.
[1]
If you are prior PHP5 write your own recursive mkdir function [1] as
posted on this list a while ago.
[1] http://marc.info/?l=php-generalm=121926660406116w=2
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Using extends means that a class IS-A substructure of its parent class(es).
EXAMPLE:
class plant { };
class tree extends plant { };
class apple_tree extends tree { };
apple_tree inherits all methods and attributes from plant and tree
So if there was a methods plant-growth() you can also call it
I'm not into MS Office, but isn't there some weird Office XML format
since Office 2007?
At MSDN I could find a nice description of the wannabe standard [1].
So if the new Excel can take XML it wouldn't be too difficult to
export the data I guess.
[1]
the old What's good code and what's bad code? discussion.
In this case ternary operations are bad code.
sorry for my bad english
Die Code tun nicht Unterschiede in Execution. Es ist Sicherheits Frage.
sorry for my bad German
//A yeti
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
?php
$arr = array(1234, 1235, 1236, 1237, 1238, 1239);
$string = implode(', ', $arr);
var_dump($string);
?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I used to have a similar problem
What I did was to define a max number of cashed pages.
So when reaching that number I simply did it the FIFO way
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
?
Congratulations on that one
//A yeti
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
false;
}
}
Secondly CanvasTextFunctions.letters() really is in a class of its own.
And why dont you use prototype [1]?
[1] http://www.w3schools.com/jsref/jsref_prototype_array.asp
//A yeti
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
One could also abuse basename and pathinfo.
Works in PHP4+
?php
$uri = 'http://www.domain.com/page/file/';
$pathinfo = pathinfo($uri);
$webpageaccess = array();
$webpageaccess[1] = $webpageaccess[2] = '';
if (isset($pathinfo['basename'])) $webpageaccess[1] = $pathinfo['basename'];
if
If your trying to filter E-Mail addresses, then filter_var is what you
should use:
http://php.net/filter_var
If the OP (original poster) got PHP5+
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, Oct 29, 2008 at 5:36 AM, [EMAIL PROTECTED] wrote:
When it comes to email validation, I would recommend using the IMAP function
which will be both fast and correct:
http://us.php.net/manual/en/function.imap-rfc822-parse-adrlist.php
Otherwise, it's guaranteed that you are having at
Usually in PHP one does not take much care about the data types, but
in this case you absoloodle have to.
If you use bit operators on a character then its ascii number will be
taken instead (how should a number based operation work with a
string?)
also if you pass on $_GET params directly into ay
If you are on a linux box with lpr [1] running you could try a
shell_exec() in combination with imagemagick
[1] http://tldp.org/HOWTO/Printing-Usage-HOWTO-2.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
After ceo posted about the imap function I was eager to try it out
and got rather disappointed pretty soon.
imap_rfc822_parse_adrlist() should not be used for email validation!
EXAMPLE:
?php
var_dump(imap_rfc822_parse_adrlist('! # $ % * + - / = ? ^ _ ` { |
} ~', ''));
?
The above code will
ceo wrote:
var_dump(imap_rfc822_parse_adrlist('! # $ % * + - / = ? ^ _ ` { | } ~',
''));
This looks like a valid localhost email address to me...
It surely is a valid localhost email address, but what most people
(and the OP) usually need is to validate a full email string with a
local and a
Even a four year old girl would think that's too pink, Rich.
What's wrong with pink?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
My 5-year-old had pretty much the same discussion with his sister
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/html
HTML;
echo str_replace('{{replace_me}}', 'This string was changed by PHP', $html);
?
There is still plenty of other possible solutions. Keep on rocking
[1] http://in.php.net/manual/en/ref.outcontrol.php
[2] http://in.php.net/manual/en/function.str-replace.php
//A yeti
--
PHP General
I can't really understand that. Not sure if you understand my problem
properly (if I've not explained properly). Anyone can give me some solutions
please?
Well as long as you don not provide any code it's all just wild guesses.
What I tried was to show you a way of simply preventing the HTML
,
mb_strlen($thedata, $encoding), $encoding));
}
//print the modified line and \n
}
}
@fclose($fp);
?
[mb_strpos] http://in.php.net/manual/en/function.mb-strpos.php
[mb_substr] http://in.php.net/manual/en/function.mb-substr.php
//A yeti
--
PHP General
I have transactional records with the following structure
Records of what kind? Is it SQL?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ltrim($line, '0123456789 .');
I am feeling a bit boneheaded now. How easy things can be.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Replying to myself now.
On Tue, Nov 4, 2008 at 7:40 AM, Yeti [EMAIL PROTECTED] wrote:
ltrim($line, '0123456789 .');
I am feeling a bit boneheaded now. How easy things can be.
This would not work if the character string after the number started
with a number too.
EXAMPLE
?php
$line = '017
//A yeti
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Command unkown. Make sure you typed it right.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Do disability browsers support JavaScript?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I wonder why you redirect the page via php when the browser supports JavaScript
Why not let JS do the redirect after the XMLHttpRequest?
figurative code ..
if (BROWSER DOES NOT SUPPORT JS) header(Location: http://$host$url;);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
no comment
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
As PHP says ... there seems to be something wrong with file
permissions. Make sure the IIS-user (if there is one on windows) can
read intekendb.php.
I don't know if you checked [1] yet. It's alot of useful info about php on IIS.
Quote out of that article:
The IIS user (usually IUSR_MACHINENAME)
::test();
?
EXAMPLE (@file: test.php):
?php
if (class_exists('foo')) {
foo::test();
}
exit();
?
OUTPUT:
Call 1br /Call 2br /
//A yeti
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Behzad,
I would try a different approach ...
EXAMPLE (UTF-8):
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html xmlns=http://www.w3.org/1999/xhtml;
head
meta http-equiv=Content-Type content=text/html; charset=utf-8 /
I guess Canadians are slower, eh? :-)
LOL
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
who says PHP means programming?
All I see is script code, unless you write your own extension or you
contribute to php-internal
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ok, ok I admit it. PHP is a programming language. I guess I drank too
much assembly code today.
By the way ... Motorola 68000! Those were to good old days.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with implode one can reverse the function arguments i know .. but
?php
$BannerSize = '';
if (isset($_POST['BannerSize']) is_array($_POST['BannerSize']))
{
$BannerSize = implode(',', $_POST['BannerSize']);
}
?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Yes, NetBeans became my favourite too a while ago. And it runs on many
Operating Systems, is free and has a debugger.
I also like the way it handles projects.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If you do not escape the name attribute you might run into trouble
when using XHTML. Always escape attributes properly.
GOOD:
?php
echo HEREDOC
div style=padding-bottom: 1500px;div style=padding-bottom: 1500px;
a href=#aynchoor title=some_aynchoor name=some_aynchoorClick me/a
/div
div
I look forward to the day when markup isn't so bloated
due to the inability of certain web browser franchises to get it right.
Although I usually look at the future through an optimistic point of
view, that day may never come.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Now I tend only to use it now for file management, FTP and testing
websites.
Beware that Konqueror has changed with KDE4. Now its main purpose is
to be a web browser, whereas the new program Dolphin is used for
file management etc.
--
PHP General Mailing List (http://www.php.net/)
To
if you
?php
var_dump($_POST['BannerSize']);
?
what do you get?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I think it's also interesting to know what browsers web developers prefer [1].
Also what people would like to know more about [2].
Number 1: howto kiss
Number 5: howto hack (lol?)
[1] http://www.w3schools.com/browsers/browsers_stats.asp
[2]
when I use the var_dump as suggested I get:
*Parse error*: syntax error, unexpected '' in *
C:\Inetpub\wwwroot\WorkOrderSystem\WorkOrder.php* on line *136*
I guess that means you tried something like this ...
EXAMPLE:
?php
// some code
?php
var_dump($_POST['BannerSize']);
?
?
Can you see
If you can't load the class before calling session_start you can store
the serialized object in a file and simple set a
$_SESSION['path_to_file'] session variable..
EXAMPLE:
?php
session_start();
//some code
class apple_tree {
var $apples = 17;
}
$temporary_file = 'appletree.txt';
What is new to me is controlling access based on being a member. And
making it tough for hackers.
Look for a tutorial on building a login system and go from there.
Since you mentioned security I would recommend HTTPS.
http://en.wikipedia.org/wiki/HTTPS
--
PHP General Mailing List
check this out ...
http://in.php.net/manual/en/ref.pcntl.php#37369
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
There are some nice SimpleXML examples at php.net, one of them also
covers handling attributes ...
http://in.php.net/manual/en/simplexml.examples.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
First of all .. always be careful with tainted data.
Like when you
$picture = $_GET['PICTURE'];
be aware that this could be a security risk one day an ImageMagick
exploid is circulating.
At the first glance I saw a syntactical thingy that might cause problems ..
case default:
break;
In PHP
That should output the full line now
?
$prExample = new probabilityRandom;
function arasi($a,$b,$data)
{
$x = explode($a,$data);
$z = explode($b,$x[1]);
$oh = $z[0];
if($x $z) { return $oh; } else { return false; }
}
Another JavaScript method would be to load the content in a hidden div
with position: absolute.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 131 matches
Mail list logo