Message
From: Richard Lynch <[EMAIL PROTECTED]>
To: Matt Carlson <[EMAIL PROTECTED]>
Cc: php-general@lists.php.net
Sent: Friday, July 27, 2007 12:52:08 AM
Subject: Re: [PHP] Find file version
On Wed, July 25, 2007 12:26 am, Matt Carlson wrote:
> I've been recently toying with th
it a brick wall though. I know binary files have version information
available, but can't find anything for php to read this.
Has anyone run across something like this in the past? Anyone have any hints
of where to go to start reading this info?
Thanks
Matt
--
PHP General Mailing List (htt
As far as scalability goes, there's actually a game we're referencing a lot
to help us make it work at the get go called Kingdom of Loathing (
http://www.kingdomofloathing.com ). This game seems to have on average
around 1,000-1,500 users on at any given time. I've noticed when visiting
the page a
I've recently begun work on a web-based RPG game with some friends, and have
recently been thinking about the best solution for loading and saving
persistent variables like player life/stats and other information. I am both
familiar with sessions and mysql for saving and loading variables, and
tha
I really have to agree here. I have gone through a mature open source project
over the last month or so, and removed EVERY notice. It honestly took all of
about 2 hours to actually fix the notices. It really isn't hard to eliminate
them, and if you are coding something the may be released, yo
;
} else {
fwrite($fp, "Test\n");
echo fread($fp, 26);
fclose($fp);
}
?>
Any ideas how I can achieve this?
Thanks,
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am running into the same problem.
A very VERY basic thing that I worked on for importing yielded this:
preg_match_all('/.*?(?:\$lang([^=]*)=(.*?); *$.*?)+/ms',
file_get_contents("localization/enUS.php"), $parsed);
It wasn't the best, but it worked 90% of the time. Maybe this can help you on
So i've been meaning to start a portfolio of some code, so that when I apply
for a job, and they want code samples, I have something to show them.
Unfortunately, at this time, most of my work is inside of a much larger
application, or in code that belongs to my current employer (not a php job,
will be getting our desktop as a service, and MS have the
same
goal. PHP will only be a small part of this if Zend decide to throw thier
lot in also.
Matt
I don't know how much of it I have left. I know that I hacked it up quite a
bit when I created an irc bot with the php reference manual. Unfortunately,
there really isn't an easy way to get function information as such from inside
of php, without parsing php's website.
The phpdoc stuff wasn't
64.70/phpinfo.php - if you notice short_open_tag is
set to "On".
But when you access a PHP page at
http://202.171.164.70/admin/login.php and try to view the source, the
short open tag is not escaped.
Any reason why this isn't working as expected?
Regards,
Matt
--
Stand before it and t
On 3/26/07, Matt Arnilo S. Baluyos (Mailing Lists)
<[EMAIL PROTECTED]> wrote:
Hello everyone,
I'm trying to add the SNMP module with a compile-from-source PHP 5.2.1
installation. This is on a Fedora Core 5 system with target web server
being lighttpd.
This is the configure script
-lltdl
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
I tried to check if it was missing a package but I see that
libtool-ltdl is already installed on the server.
Anyone know what could be wrong here?
Regards,
Matt
--
Stand before it and there is no beginning.
Follow it and t
When dealing with large numbers inside of php, I know at the int limit, a
variable is recast into float.
1). How do you return the true number of the float when it reaches the upper
limits of mysql's bigint (9223372036854775807).
2). How do you handle numbers that large, while maintaining p
When dealing with large numbers inside of php, I know at the int limit, a
variable is recast into float.
1). How do you return the true number of the float when it reaches the upper
limits of mysql's bigint (9223372036854775807).
2). How do you handle numbers that large, while maintaining p
----
From: Matt Carlson <[EMAIL PROTECTED]>
To: Jonathan Kahan <[EMAIL PROTECTED]>; php Lists
Sent: Tuesday, March 13, 2007 5:12:03 PM
Subject: Re: [PHP] 2 errors I can not understand
I think you have an issue with the line
while($d<$s) when it comes to the number 3.
$d will NE
I think you have an issue with the line
while($d<$s) when it comes to the number 3.
$d will NEVER be < $s if $s = 3.
I think you want $d<=$s?? Or maybe a switch for the number 3?
- Original Message
From: Jonathan Kahan <[EMAIL PROTECTED]>
To: php Lists
Sent: Tuesday, March 13, 2007
I've used variable variables probably 5 times in 2 years. They are great when
you need them, but don't usually have a day-to-day use for them.
Here is some sample code of the last time I used it.
if(isset($$key))
{
print($$key);
continue;
Does anyone know where I could find PHP Documentation in XML or in an SQL dump?
I'm trying to write an IRC bot that can retrieve information on php functions,
and am realizing this would be the easiest way.
Thanks in advance.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
If i'm understanding you correctly, you have something like a flat file, and
hopefully it is artist[tab]artist[tab] with the title being something like
artist1title[tab]artist2title[tab], etc.
If so, use explode.
$artists = explode("\t", $stringofartists);
$songs = explode("\t", $stringoftitles
to what they're using and what they think of it.
Best Regards,
Matt
--
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Looks to me as if you're treating $flen as an array in one place and as a
value in another:
String here:
$flen = $_POST['flen'];// length of text field group, shows to be the
Array here:
for($i = 0; $i < count($flen); $i++)
Remove the count() and you'll probably get what you
Having learned Bridge when I was younger, I feel PHP is alot easier to learn as
it is "constant" in a way.
Depending on cards you are holding, cards your partner is holding, and your
oponents bidding, depends how you should bid. Quite a bit of variablity in
there.
- Original Message
It will never receive a base name due to the way the data is structured before
being passed into the function.
I appreciate everyone's input on this. It's been tough for us to develop what
we did (since it's such an odd case), and it's good to see other possible
methods to do this in a better
If you have cURL installed, you could use Curl to get the file, and manipulate
the contents that way.
Here is the standard function I use for grabbing a remote page.
function doRequest($method, $url, $vars = '', $headers = '0') {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
Over the weekend, I was tasked with taking a string representation of a
directory ('\Interface\Addons\\'), which can vary in
length (no set number of depths) to a multi-dimensional array (i.e.
array('Interface' => array('Addons' => array('' => )));).
We came up with a very ugly hack to do it
On 1/8/07, Ville Mattila <[EMAIL PROTECTED]> wrote:
Matt Arnilo S. Baluyos (Mailing Lists) kirjoitti:
> What's the easiest way to go about this? Specifically, what's the
> easiest way to read a file from the server and send it as an email
> attachment.
I woul
r and send it to an email.
What's the easiest way to go about this? Specifically, what's the
easiest way to read a file from the server and send it as an email
attachment.
Best Regards,
Matt
--
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the an
With register_globals on, the globals super array ($_POST, $_GET, $_REQUEST)
are automatically populated into variables. With that in mind
www.example.com/index.php?path=remoteexplot.com/ would then yield
include('remoteexplit.com/foo'); thus including ANY code they wish.
- Original Me
Adding the line:
PHPINIDir "c:/php/"
to my Apache configuration file has worked for me on Windows installs,
assuming that you are using Apache.
On 11/9/06, zerof <[EMAIL PROTECTED]> wrote:
Alain Roger escreveu:
> Hi,
>
> everytime i install PHP, my "php.ini" must be installed in "C:\windows\"
ll of this is
that my code is now working and I can finish off my tests.
Thanks again
Matt
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: 06 November 2006 21:02
To: Matt Street
Cc: 'php-general@lists.php.net'
Subject: RE: [PHP] PHP Zip Question
On Mon, Nov
tarts PK!!!
Anyone any ideas???
Thanks in advance
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
o be lacking more in HTML and Browser
server relationships - I'm basing things on my background in Basic
programming as a kid - you do Print "Hello world" and it does that instantly
to the screen - little different with browsers!
Matt
"Myron Turner" <[EMAIL PROTECTED]&
he service has restarted at which point they are returned to
index.php - its as if the exec and the sleep and the refresh to index.php
are all kind of running concurently.
Can someone PLEASE tell me what I'm doing wrong - or shed light on how I
should do this.
Thanks,
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e.'';
}
zip_close($zip);
to the bottom of my page it correctly displays, on screen, the 3 files I
expect to be in the zip file.
Any help would be very gratefully received as this is driving me mad!!!
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
upload it to a
different place (takes a long time). Is there an FTP that will just copy
the file/folder from the FTP server without the need to download/upload it
somewhere else?
Thanks,
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In my experience with the other frameworks (primarily Wasp, CakePHP,
Symfony, eZ Components, and Zend Framework), I've found that I was not
satisfied with the quantity of low-quality code they advocate. I have
a high standard for code quality, readability, maintainability, and
(more generally) sem
with and learn from other developers as well.
Thanks,
Matt Palermo
http://sweetphp.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I think that one of the issues is that when you assign
a variable using "" instead of '', it will
auto-replace your variable names inline. I don't
know, but I think you should be escaping the $ before
the <.
--- Jo�o C�ndido de Souza Neto
<[EMAIL PROTECTED]> wrote:
> Hi everyone.
>
> I ha
Just in case you ever need to check the configure line again in the
future, you can get at it (even if you've built through the FreeBSD
ports) through a phpinfo page. The third section on that page is
labeled "Configure Command" and lists all the options used during the
build.
M
Hello list,
We have recently upgraded our database to PostgreSQL 8.1.x which
handles UTF-8 more strictly than previous versions. The new version
will not allow illegal byte sequences when inserting data.
This has caused some errors in our system which inputs data.
Basically, what the system does
You guys make me laugh... :)
(And I really actually mean that in a nice way... that last bit was
quite funny. And yes, size does matter... some don't like it _too_
big.)
But, I digress.
I'm OK with taking this off-list... though I'd rather publicly reply.
Yeah, I meant procedural, not functiona
There's nothing wrong with staying true to the philosophy at all, I
just think that it may well be detrimental in the end. And that is
what I said in the (toilet)paper, that there will be (emphasis on the
eventuality, not on the present actuality) a time that PHP will become
the old stuff because i
Yes, I absolutely agree that Rasmus is awesome and his accomplishments
are far and beyond amazing, but I'm saying that I think that Rasmus is
motivated to stay true to PHP's philosophies and not be willing to
rethink them: that is what I meant by that.
In no way am I saying that Rasmus doesn't DES
I wonder how long this is gonna go on for, its ironic that the name
'Microsoft' seems to spread through this mailing list just like it
spreads through peoples computers ...
humm another thing that implies the same rule is a virus ! derm derm
drm...
Ryan A wrote:
Hey,
Just as long
oops forgot the first .. oh well! :(
Matt Richards wrote:
quote:
Joe Wollard wrote:
Just as long as everyone knows that everything I said was all in
good fun.
Next time I'll be sure to use just to be sure nothing is
taken the wrong way ;-)
Joe Wollard wrote:
Just as long as eve
quote:
Joe Wollard wrote:
Just as long as everyone knows that everything I said was all in good
fun.
Next time I'll be sure to use just to be sure nothing is
taken the wrong way ;-)
Joe Wollard wrote:
Just as long as everyone knows that everything I said was all in good
fun. Next time I'
Zouari Fourat: lol, bet you feel silly now :)
Stut wrote:
Zouari Fourat wrote:
:) Gerry not that funny ;)
I was affraid :o from the news
Rule #1 on the Internet... Never trust any news without a link to an
official source
Rule #2 on the Internet... Never trust anything you read on April 1st
On 3/29/06, Ray Hauge <[EMAIL PROTECTED]> wrote:
> Chris Shiflett has written a number of good articles on the matter. You can
> find them at:
>
> http://shiflett.org/articles
>
> The articles in particular would be:
>
> Security Corner: Cross-Site Request Forgeries
> Security Corner: Data Filterin
Hello everyone,
Would anyone know a PHP script that can sanitize variables to prevent
XSS and SQL injection?
Thanks and best regards,
Matt
--
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
--
PHP General Mailing List
> Rick Lim wrote:
>> is there a guide for pda friendly web pages.
> Yeah there is one.
lol, would you like to tell us where its located please?
>
> --
> Smileys rule (cX.x)C --o(^_^o)
> Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubs
l .= ", insertDate='" . $dat . "'";
> $sql .= ", insertTime='" . time() . "'";
> $sql .= " WHERE IDForum=" . safeQuote($idForum);
> $querys = mysql_query($sql);
Use NOW() for both your date and time fields if the fields have been set up
as that. MySQL will then add the date and time according to whatever those
values are on your db machine.
Cheers
Matt
vascript consoles outputs:
Error: document.getElementById(update[0]) has no properties
Source File: http://www.xn--ovg.com/aja/test.js
Line: 35
Cheers
Matt
I have available at
http://sweetphp.com and they have become very successful because of all your
help.
Thanks,
Matt Palermo
[EMAIL PROTECTED]
http://sweetphp.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 2/9/06, Jochem Maas <[EMAIL PROTECTED]> wrote:
> bare in mind though that define() is horribly slow (to paraphrase
> Rasmus) which may be the reason many projects choose to use variables
> instead. see here:
Thanks Chris and Jochem!
That should've been my follow up question - which is, if defi
ns on this one.
Thanks and best regards,
Matt
--
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
gt; code auditing which *specificly searches PHP code for SQL, XSS type of
> attacks or vulnerabilities? TIA.
>
http://www.parosproxy.org/index.shtml doesn't audit source code but if you
can dump your code on a test box you can test it from another machine.
Cheers
Matt
--
PHP
Any ideas on how to accomplish this?
""Matt Palermo"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm try to sort a list of items using a usort function. Basically, I want
> it to sort in this order:
>
> Numbers (0-9)
> Letters
get these results? Please let me know.
Thanks,
Matt Palermo
http://sweetphp.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
James Benson wrote:
What is the most reliable way to test if a connection is already using
the https protocol, is their a PHP constant or something builtin already?
Thanks,
James
Something like?
if (isset($_SERVER["HTTPS"]) && 'on' == $_SERVER["HTTPS"])
{// ssl
} else {
// non-ssl
}
--
P
hmm, it seems php -a likes to complain heh, so I decided to do my little
STDIN tests in an actual script and not interactively and turned off error
reporting..things are all happy again in "matt land" lol
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
de, or is STDIN not
opened by default in php4.4
this is on slackware linux version 10.2 running php -v 4.4
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Install the "php5-session" port from your ports tree to enable
sessions. It's located in "/usr/ports/www/php5-session" on a default
install with the port tree.
On 12/19/05, John Nichel <[EMAIL PROTECTED]> wrote:
> Jose Borquez wrote:
> > John Nichel wrote:
> >
> >> Jose Borquez wrote:
> >>
> >>
verything is ignored
any ideas?
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I just figured out my own answer to the previous post so i guess just
ignore the question :p
i'll learn to try things first one of these days lol
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i am trying to read a directory from a cd made in windows with a 3-word or
longer directory name like the one shown above, but how do i deal with a
oddly named directory like that in linux/php?
I know spaces don't work when changing directories so would i have to
escape the space or what?
m
There's a big difference between the first and second scripts your using.
The second one isn't using a while loop so will only return the first row in
the recordset. See below.
HTH
Cheers
Matt
- Original Message -
From: "Anasta" <[EMAIL PROTECTED]>
To:
Sent:
ield. Who needs a bot to post that info when a single
click on a form can see your script used to spam a stack of recipients? To
put it another way, is it worth validating the source of your input if
you're not going to validate the input itself?
HTH
Cheers
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> On Dec 12, 2005, at 8:21 PM, Ray wrote:
>> Hello,
>> Thanks Matt, I appreciate your help. your solution is a lot easier
>> than mine.
>> It's also nice to understand what was happening. I was introduced to
>> PHP
>> after that type of globals
System Time
> Is the system time through Linux, Apache or through the php.ini file?
>
>
>
> On 12/11/05, Sebastian En3pY Zdrojewski <[EMAIL PROTECTED]> wrote:
> >
> > afaik it's the system time.
> >
> > Cheers
> >
> > En3pY
> >
> >
> > Sebastian Konstanty Zdrojewski
> >
> > _
Register globals is no longer ON I believe. That is why it happened.
To fix this:
Foreach($_POST as $key => $value) ${$key} = $value;
That will convert all of your post variables to local variables.
:)
Thanks,
Matt Babineau
Criticalcode
858.733.0160
[EMAIL PROTECTED]
h
hello,
I just found out why one reason for a meta refresh is a bad idea, it does
exactly that, it refreshes the page every 3 or 2 or 0 seconds which
basically is constant..so maybe the header idea is better in this case.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
s it was doing what
i told it, not what i wanted though :p
matt
On Sat, 10 Dec 2005, Robert Cummings wrote:
On Sat, 2005-12-10 at 02:55, Michael Hulse wrote:
On Dec 9, 2005, at 11:35 PM, Aaron Koning wrote:
Its been my experience that meta tags work better.
header("Refresh: 0; URL=https:/
s i'm a moron at times :p
and its not my usual time to be up but maybe that has something to do with
it anyway i will do some reading when my mind is switched on lol
matt
On Sat, 10 Dec 2005, Robert Cummings wrote:
On Sat, 2005-12-10 at 03:01, Aaron Koning wrote:
My experience was with
could have probably done this "switch on the fly" like some pages do but
I was told that requires java and i don't have or want to use java lol
matt
if possible i want to keep my webpages java free
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
PROTECTED]
> On Sat, Dec 03, 2005 at 01:28:21PM -0500, Matt Monaco wrote:
>> I have the following two methods as part of a class I'm using to
>> transport
>> data between pages.
>>
>> static function pack($object)
>> {
>> if (sessio
I have the following two methods as part of a class I'm using to transport
data between pages.
static function pack($object)
{
if (session_id() == "") {
session_start();
}
$class = get_class($object);
$_SESSION["cmsSessionArray"][$class] = seri
Hah, I was looking in the object aggregation functions, that really deserved
a RTFM
"Ray Hauge" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> That would be get_class( [obj] );
>
> http://us3.php.net/manual/en/function.get-class.php
>
> Matt Monaco
Is there a function or method to determine the class an object was defined
from?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is valid just as with any other link.
""Shaun"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> How can I get the form values submitted from an iframe where the target is
> the parent window?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
Check your http access file to verify what david and jochem have said, you
should see lines upon lines of access for the pages in question.
"Jochem Maas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Angelo Zanetti wrote:
>> Hi guys.
>>
>> Been working on my site and then been tr
As I learned recently, register_globals should always be off, you do not
need it to enable GET and POST variables. I believe enabling it will do
something like set $_POST["name"] to $name automatically (of course there's
always the 90% chance that I'm absolutely wrong).
You might want to see i
Well if your keys are a straight sequence of numbers instead of a foreach
you can do a for loop and for those whose value is not one, set to zero.
Matt
"blackwater dev" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I have a form where I am dynamically bui
nclude the file using
require_once("Login.class.php");
Matt
""mail.pmpa"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>De: Matt Monaco [mailto:[EMAIL PROTECTED]
>Create an object with the functionality of your choosing, in the destructor
Create an object with the functionality of your choosing, in the destructor
perform your cleanup operations.
""mail.pmpa"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Greetings
>
> I'm having some trouble on a members online script.
> I use a php script to track member login t
In your server configuration file (httpd.conf for apache) you specify which
extensions are parsed by the php module. It is perfectly acceptable for you
to specify .html in addition to .php as a parsed extension.
"Oil Pine" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I
There's really no reason making classes for those (unless you'd like to
write an entire HTML class and its children - I'd be happy to use it!).
Matt
"Todd Cary" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> My background is in Object Orie
You can use file_get_contents and use an http address as a parameter. Then
use the pearl regular expressions functions to replace with the elements
you'd like.
""Shaun"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I am trying to create my own CMS. To being with I wa
You can use file_get_contents and use an http address as a parameter. Then
use the pearl regular expressions functions to replace with the elements
you'd like.
""Shaun"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I am trying to create my own CMS. To being with I wa
In outlook express by default the headers are displayed as some icons and
then subject, from, sent, size. For some people From is displayed in double
quotes, and others not.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
turned on.
Matt
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Matt Monaco wrote:
>> I apologize, but I've never been able to access $_POST and $_GET in any
>> context whatsoever without first turning on the register globals.
I apologize, but I've never been able to access $_POST and $_GET in any
context whatsoever without first turning on the register globals.
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Matt Monaco wrote:
>> Somewhat, but its what you n
erties into a MySQL or other database? Then on a page that you need
the properties you pull them from the table?
On 11/25/05, Matt Monaco <[EMAIL PROTECTED]> wrote:
>
> I mean the object itself, not the class (the file containing the class
> definition is included on all necessary pag
hecked for things like quotes and other
characters that will alter your SQL statement before you actually INSERT
that value into your table.
"Unknown Unknown" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Doesn't that cause security problems?
On 11/25/05
I mean the object itself, not the class (the file containing the class
definition is included on all necessary pages with
require_once("file.inc.php");
I want to create an object on one page ($obj = new MyClass();) and have it
on other pages, all members and functions intact.
Matt
In php.ini (most likely located in your windows directory) look for the
globals section and turn register_globals = on
Matt
"Unknown Unknown" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello everyone, i am running PHP 5 on Windows XP Pro SP2, my $_GET and
$_PO
the
numeric keys entirely, but after this function they still exist.
Matt
"Pooly" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi,
I've an array :
$ls_statfields=array(
"rfile" =>0,
"file" =>1,
"dev&q
displays $cars[].
Matt
"blackwater dev" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello all,
I have some array code driving me nuts.
I am pulling from a db:
select id, vehicle, has_quotes from cars where active=1
I then loop through these and build an a
What is the best way to pass an object between pages? Currently I am
first
serializing, then doing a base64_encode, this doesn't seem entirely
efficient. (Especially the encode).
I am however using the encode because I have the serialized object as the
value of a hidden form element. I can only
I get string(1) "", should that be taken just the same as 0? In addition
phpinfo() indicates php 5.0.4 - does the upgrade to .5 involve remove .4
first?
btw, as I'm new to the mailing list thing, why do some names appear in
quotes and others do not?
Thanks,
Matt
"
101 - 200 of 1663 matches
Mail list logo