have access to session data, which is held on the
server-side, so only someone with server access can spoof. Any other way
of doing it ?
Josip Dzolonga
http://josip.dotgeek.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
would be fine. Google for more, there are tons of AJAX articles out
there ;-)
Hope this helps,
Josip Dzolonga
http://josip.dotgeek.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 2005-01-26 at 16:54 -0500, v0id null wrote:
So how cna I convert UTF-8 to UTF-16?
--
llundi0v
Have you tried with iconv ? www.php.net/iconv for further details ;-)
--
Josip Dzolonga,
dzolonga at mt dot net dot mk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
On Wed, 2005-01-26 at 22:38 -0700, Michael Gale wrote:
I have searched every where ...is this possible ?
Well, take a look here
http://www.php.net/manual/en/function.shell-exec.php . So you can exec
an echo command and get the result.
--
Josip Dzolonga,
dzolonga at mt dot net dot mk
--
PHP
function). It might
_NOT_ contain a slash between $store_dir and
$HTTP_POST_FILES[$name]['name'].
--
Josip Dzolonga,
dzolonga at mt dot net dot mk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
at caching and atom support) because I haven't got
enough free time (the school-term has ended ;-(). Take a look at
MagpieRSS ( http://magpierss.sourceforge.net/ ).
--
Josip Dzolonga,
dzolonga at mt dot net dot mk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
You can check this function too : http://www.php.net/mime_content_type .
It's not platform specific :). Btw, mime_magic extension has to be enabled.
Hope that this helped.
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net
/en/language.types.array.php#language.types.array.donts
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
);
Hope that helps,
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
it with base64_decode .
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
variable and check if both match
or not (you can store the md5 value too in a Cookie).
Hope that helps,
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
statically using the double colon ( :: )
operator :
MyClass::static_method();
I suggest you to take a good look here
http://www.php.net/manual/en/keyword.paamayim-nekudotayim.php
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net
}
This is a good way to start, I think. Filtering the input first would be
a nice idea too, especeally if there're more input fields ;-)
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
something malicious :-).
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jacques wrote:
I have often seen php code included inside braces. What does this mean or
do?
Jacques
A code block, rtfm :-)
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
in a cookie can be also pretty fine, but
storing it in a GET variable is more than stupid.
Hope this helps,
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
', 'second_func', 'third_func') {
if(in_array($_GET['func'], $allowed) { /* it's okay */
call_user_func($_GET['func']); }
else { die('Next time, sucker'; }
}
Hope this helps,
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net
,
Ryan
The code follows :
if (in_array($number, $data_recs)) {
$key = array_search($number, $data_recs); // Get the key
unset($data_recs[$key]); // Unset the variable
}
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net
Ryan A wrote:
what function should i lookup/use?
Thanks,
Ryan
This will do the job :
$array = array_values($array);
Hope this helps,
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
, take a look at this
function www.php.net/error_reporting , just don't forget to put that on
top of the script ;-)
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
Jeff McKeon wrote:
Does anyone know if it's possible to have file_get_contents() accept a
file handle?
Why would you need that ?
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
='JavaScript'
alert(Message);
window.location = http://www.google.com;;
/script
should do the work ;-).
Hope this helps,
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ryan A wrote:
Meta refresh too would do the job quite nicely
Cheers,
Ryan
Yes it will, but he will still have to use JavaScript in order to show
that message box ( the alert function ) ;-)
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http
/session ]
and here [ http://www.php.net/session ].
Hope this helps,
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
classes from the base would be a good work-around.
Hope this helps,
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Chris Blake wrote:
Greetings PHP(eople),
I have a wget process that runs to download a file from a web site,
Why would you do that ? There're bultin functions in PHP for doing it.
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net
a URL, so $contents = file_get_contents($url); is going
to to the job perfectly !
Hope this helps,
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
get stuck somewhere,
state your questions here :)
Hope this helps,
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to google now :)), search Amazon.
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
forcing , so if the user has an easy-to-guess password, it _can_ be
revelead (brute-forcing numbers, dictionary words). I don't get the
point, _why_ to store a password hash on the client-side as a cookie,
when you can do it on the server-side.
Josip Dzolonga,
http://josip.dotgeek.org
--
PHP General
On , 2005-04-09 at 11:27 -0400, C Drozdowski wrote:
where CODE is some php code that refers to the class of the exception
being thrown.
Take a look at magic constants
[ http://www.php.net/manual/en/language.constants.predefined.php ].
Hope this helps,
Josip Dzolonga
http://josip.dotgeek.org
= $_GET['id'];
if($id == strval(intval($id))) { /* Okay, do the query */ }
else die('Looser !');
Hope this helps,
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a look here : http://sourceforge.net/projects/snoopy/ , I'm not
much sure but I think that it has that feature.
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On , 2005-04-11 at 15:43 +0100, AndreaD wrote:
I have a session variable called
$_SESSION['total'] the problem is I can't delete/reset it. I have tried
$_SESSION['total']= 0;
$_SESSION['total']= ;
www.php.net/unset , unset($_SESSION['total']);
Josip Dzolonga,
http://josip.dotgeek.org
apache either full or modify
permissions to the Web directory.
That's correct. And also, are you using double slashes \\ instead of a
single slash / ?
Josip Dzolonga
http://josip.dotgeek.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On , 2005-04-11 at 19:34 -0300, ngelo A. Camargo wrote:
If you have NONE of those, you probably are trying to violate some kind of
license. Don't do that. :-v
Do not pay, to some reverse engineering :-)
Josip Dzolonga
http://josip.dotgeek.org
--
PHP General Mailing List (http
On , 2005-04-11 at 20:57 -0400, Teng Wang wrote:
So I guess there is some other place to start php4 already.
Where can I find it?
PHP is probably installed as a static module. For disabling PHP support
I think you'll need to recompile Apache.
Hope this helps,
Josip Dzolonga
http
, but I'm more than sure that it has feature to
set headers. Looking at the manual ( www.php.net/mail ) would be also an
excellent idea, since there are this kind of code examples.
Hope this helps,
Josip Dzolonga
http://josip.dotgeek.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
On , 2005-04-12 at 14:37 +0200, Josip Dzolonga wrote:
On , 2005-04-11 at 19:34 -0300, ngelo A. Camargo wrote:
If you have NONE of those, you probably are trying to violate some kind of
license. Don't do that. :-v
Do not pay, to some reverse engineering :-)
s/to/do , damn keyboard
, update a calendar using a Web based editor. Not a full
fledged portal CMS.
Also, it would be nice if it was written in PHP and use MySQL for the
server DB. Has anyone had experience with such a CMS?
Todd
http://www.cmsmatrix.org/
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
40 matches
Mail list logo