o security aspects of it.
Given the nature of the project, I realise security is a must. My question
is: what recommended reading for security or ecommerce can any of you
suggest?
--
Thanks,
Travis Moore
tra...@live.com OR trabus2...@gmail.com
--
PHP General Mailing List (http://www.ph
he correct colors as the original
14416fed5d4f78.jpg. I figure that I'm missing some small elements to the
process of creating the png...
Anyone have any ideas, pointers, advice, or correct solution to make
this possible?
Sincerely,
Travis L. Font
Interactive Developer
BSN
5901 Broken S
Here's random! I'm going to close my eyes think of some drinking water
and running AT the same time and just start pushing numbers on the pad
however way my fingers desire while not thinking about it!
Here: 7914718845748671454531587148354531452141857
Good enough?
-Travis
ginal code goes
from:
foreach ($pdo->query($query) as $row) {}
To:
$statement = $pdo->query($query);
$statement->setFetchMode(PDO::FETCH_ASSOC);
foreach( $statement as $row) {}
There must be a way to set it with setAttribute for the connection though,
instead of just on a per-statement basis...
Travis Doherty
DDR" to get the
address of the host you are running under if you wanted to access it from
PHP only.
Travis Doherty
Skip Evans wrote:
> Hey all,
>
> I've installed Feisty Fawn on the curmudgeon barber's machine, but it
> won't get any of the outside packages I've tried to get. I've tried an
>
> apt-get install {package}
>
> ...on digikam, kate, gftp, and others. All stuff I had no trouble
> getting with Edgy.
>
If you're using window.location="./script.php?var=value", it's not
actually using a variable, it's using a string.
If you're just using the above as an example, then could you please post
the line of javascript for redirecting.
Travis.
Davis Chan wrote:
Hi
later) or a
500 for perm error right at the mail server. Not sure if you can get
your logic in up the stream though before it gets to you. If you can
you never have to deal with bounce messages and the entire queuing
process that goes along with it, mail server maintenance, etc..
Bounce to the enveloper sender, not the "From" header. I also believe
bounces are supposed to have an envelope sender of "<>" to avoid bounce
loops... not sure on that though.
Cheers
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Okay, so what I have is a BB code type of thing for a CMS, which I for
obvious reasons can't allow HTML.
Here's the snippet of my function:
function bbCode($str)
{
$db = new _Mysql;
$strOld = $str;
$strNew = $str;
$getRegexs = $db->query("SELECT `regex`,`replace`,`search` FROM
its defined constant
DBVERSION matches that of the database it is running against. This has
actually helped out more than once, though not a solution to the actual
problem.
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
whatever info you want into the 'unused' or
'less used' bytes of the image.
With this in mind I imagine even if you did have an image repository of
only 8 images you could add some random bytes to the right spots in the
image without distorting it beyond recognition/corrupting it, and
therefore get a hybrid of static/on-the-fly images, that hashing
couldn't break so simply.
2 cents...
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nsible for their card numbers being stolen.
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ng the adoption rates of PHP5 show what
Rob said.
http://www.nexen.net/chiffres_cles/phpversion/16814-php_stats_evolution_for_march_2007.php
I'm sure many of the polled domains are shared hosts, who have users,
which exponentially complicates the task of migration.
Travis Doherty
--
PHP G
Myron Turner wrote:
> Travis Doherty wrote:
>
>>>
>>
>> What about the argument that PHP4 is dead. It's done. It's over.
>> There is no reason anyone should be using it, less perhaps a lack of
>> time to tweak scripts for an upgrade from 4 t
will be dropped at the end of the year, 8 months from
now. So now is the time to start upgrading all your scripts as we won't
be releasing new versions after December 31st, 2007."
http://derickrethans.nl/php_quebec_conference_rip_php_4.php
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ree - I agree with "you should migrate to PHP5 *NOW*"
(my emphasis added) and I disagree with "then it's not really needed to
upgrade." (unless you don't care about security.)
Ilia Alshanetsky gave a great talk on this topic recently,
http://ilia.ws/talks/ scroll to the bottom to "(PDF) Migrating to PHP
5.2.1".
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
)
>>
>>
>>
>>
>>
>
>what does strtotime return for that string?
>
>
>
It's already a time, strtotime should return FALSE. It probably can't
parse that string to a time.
Travis D
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jason Pruim wrote:
> Hi Everyone,
>
> First off, I'm using PHP 5.2.0 and apache 1.3.33
>
> I am trying to figure out what format a string is in in a database.
> It's a timecard system that I have found on-line and I am attempting
> to figure out how to write a script that would give me everyones
.
- Profile your code and find the right places to optimize.
Optimizing code that takes .0001 seconds to run down to .1 seconds
is great, 10x improvement! Who cares. Find the chunk that takes 0.5
seconds to run and optimize that to 0.05 seconds. 10x improvement still,
except that this time it actu
>
> Tijnema
Taking the Zend ZCE exam puts you under a strict NDA. Nobody can tell
you what you will see on the exam.
Study the exam guide and if design patterns really interest you then
take it to the next level out of personal interest. Since patterns are
not "PHP-only" you can
mated_date > (current_date + 14)
>
> etc. Which functions are best suited for such calculations?
>
> O. Wyss
>
www.php.net/strtotime is probably a good start.
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and was probably choke full of security problems.
Setting up ProFTPd for MySQL authentication was a pain, I'm sure its
easier today. Once you have that setup, its just a simple matter of
CRUD SQL queries.
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
op is fastest.
Note that the while loop with a post-increment runs once more than with
a pre-increment.
Everytime I run, the results are *very* different, though still fall
within similar comparitive domains.
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Juergen Wind wrote:
>Travis Doherty wrote:
>
>
>>By default the session cookie expires when the browseris closed.
>>
>>
>this is not always true: f.e. FF requires *all* open windows to be closed to
>forget that session.
>
>
Personally I think th
han a string (such as int) than you're
>safe and you don't have to use htmlentities.
>
>
>
Good call. One better is prepared statements. Avoid the problem all
together.
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
oring sensitive
data in _SESSION. Anyone local to the system can probably read
plaintext session data from the session cache.
HTTPS only protects communications between the client and the server at
best, do be afraid!
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
r as a cookie (unless its in the URL...)
www.php.net/session/
Take a look at cookie_lifetime and you might like the cache_expire docs
on the same page too.
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ossible that your OS has a cron job running that clears out that
directory, especially if these complaints are usually around midnight
when these types of jobs typically run.
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.. I'm really not sure if
PHP's functions will take care of moving that username/password
information into the header of the HTTP request or just leave it there.
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello.
Came across some code that startled me. Mostly because it goes against
the generally accepted idea of detecting and rejecting bad input instead
of trying to escape it, secondly because "it just feels wrong."
The only technical case I have so far is for inserting a double/single
quote into
Aslam Bari wrote:
>Hello,
>Just a minute. I know the php script will run on server. Suppose i m working
>on server machine and i need to make a project for myself. The machine is
>only one and same. Also there are a lot of file and directory methods
>available in PHP, Whats that? Actually i want t
Børge Holen wrote:
>On Wednesday 24 January 2007 07:32, Travis Doherty wrote:
>
>
>>Aslam Bari wrote:
>>
>>
>>>Dear All,
>>>I m new in this Forum. I m making a project in which i need to show user a
>>>Browse Folder Dialog Box, In wh
don't see why someone wouldn't just use http://php.net/wordwrap/ .
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ime to look into a different language to
do whatever it is you want to do, something like Visual Basic might suit
you well (last time I used it there was a control that would popup the
standard windows 'Select Folder' dialog.)
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
anner ads might fall here.) False positives will be
high with beach photos from family vacation, for example.
Travis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
les/'.$filename);
>
Pretty sure Richard already squared this one away, I think this is the
article you are looking for:
http://richardlynch.blogspot.com/
Travis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tore the data in a MySQL database it would be the same
procedure, except you would query the database (BLOB column type) and
echo that data instead of using readfile() to get your data.
Travis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
correctly, it sounds like the FTP client is having
troubles uploading the file. Try to minimize the script and see if you
can still reproduce:
Hello";
?>
If you upload a script like that, does it get something simple done
correctly or does that also require a second upload?
Travis
--
P
can you
>open up some content that has them using a hex editor and tell us the
>hex codes for the bytes? That will help determine what charset.
>
>Cheers,
>Rob.
>
>
John Walker's insight might be a good lead on some more information on
exactly what these are, even if
pedia.org/wiki/British_Summer_Time> (BST). Similar
circumstances apply in many places.
<<
**
Travis Doherty
TixTime
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;t happen. Of course there is no
problem for spring, only in the fall time change.
This can be a big problem to some apps, and others might be fine with
the workaround like we've done where you loose a tiny bit of data (It's
08:00 on the day after the timechange, is this ticket from 0
y, you could do something like this:
$reminderStamp = strtotime("+{$addMonths} months",time());
$reminderStamp = strtoTime("+{$addDays} days",$reminderStamp);
$date = date("Y-m-d",$reminderStamp);
$date should have a string like -mm-dd that is $addMonths and
$add
Ron Piggott (PHP) wrote:
>Is there a way I am able to use the DATE command to convert January to
>1, February to 2, etc.
>
>
>
What is wrong with date()?
www.php.net/date
$month = 'Jan';
$numericMonth = date('m', strtotime("$month 01 2000");
Travi
-box' install of SA, most people have special rules in
there, bayes training done, etc... I believe there is also a website
that you can copy paste the message into to perform the same test (see
message on this list, "Peter Lauri - PHP Mailer and SMTP = SPAM?") That
site might have othe
ou have above) into
message_with_headers and run it through SA. Maybe SA is giving you
points for things like too many exclamations, certain ratio of HTML...
I doubt that having a return-path of 'nobody' is the lowest-hanging
fruit you can pick up here to make yourself look less spammy.
Also make sure the sending mail server isn't listed in any blacklists
(yahoo for RBL lookup tool to check.)
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
apache
module it should be available to the CLI as well.
If there is no 'undefined function' error then you should also be
calling 'echo mysql_error()' to see what the error is after connecting.
That error is going to give you more info than any of us can.
Travis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ysql_password');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
so removes bogus Return-Path header fields
> inserted by other MTAs, this header field is generally guaranteed to
> reflect the last reverse path seen in the MAIL FROM command.
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If its a Win box there is a sendmail_from config param in php.ini.
php.net/manual/function.mail.php read for 'Additional Params' the fifth
argument, it specifically deals with this case.
Travis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
mmand you
will use to change the timezone of the running script is:
putenv("TZ=$zone");
The equiv to set a MySQL connection to a certain timezone would be:
SET time_zone = '$zone';
http://dev.mysql.com/doc/refman/5.1/en/time-zone-support.html
That URL has the MySQL side of se
efman/5.0/en/date-and-time-functions.html
They should all work on DATETIME type columns, storing seconds since
epoch doesn't quite give you that (you could work it in pretty easily
I'm sure, why not use the native column type!)
Cheers,
Travis
>
> On 9/18/06, Travis Doherty <[EMAIL
Kevin Murphy wrote:
> Not really. If it were always "today" that would work, but in this
> case, I was thinking of storing a day of the week in a database
> ("3"), and then display the info based on that digit. So assuming
> that the number was in fact 3, then:
>
> echo date("D","3");
>
> Would
sage itself and the server sending the message. If
you can send mail from this server using a normal mail client and it
does not get blocked as spam then it is probably your message. If
sending using a normal client still gets blocked as spam in you gmail
account chances are it is the server and n
or download it will always be possible for
someone to figure out your counter measures. It doesn't mean you can't
make it trivial enough that they move along to the next site.
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
l you are more experienced.
"High Performance MySQL" by Zawodny & Balling, O'Reilly -- not PHP
specific but essential if your MySQL databases will have heavy load on them.
Travis Doherty
Ligaya Turmelle wrote:
> I personally liked George Schlossnagle's book "
irectory as PHP best sees fit.
Travis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
o has an unmatched quote.
The actual error message seems clear "No such file or directory" - does
"home/path/temp" exist, did you mean "/home/path/temp".
Travis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
you have to allow others to read it.
You have it so only root can access the file. Try this:
chmod 644 test.php
while logged in as root. This should put the file as
-rw-r--r-- 1 root root test.php
HTH
Travis
- Original Message -
From: "Jason Morehouse" <[EMAIL PROTECTE
Maybe this will help. Just keep adding to $var[] until you add all your
weeks. Then execute it. This is written to run on the command line, but
you can replace the \n with to get your breaks in HTML.
$numweeks = count($var);
echo "Number of weeks: " . $numweeks . "\n";
.php.net/manual/en/function.gmdate.php
Travis
- Original Message -
From: "Bruno B B Magalhães" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, January 04, 2005 5:04 AM
Subject: [PHP] GMT
Hi you all,
How do you work with GMT time-zones? I mean, I´ve developed a support
system, wit
Why reinvent the wheel by writing your own webserver? Apache allows for it
to be used within other products. Just redistrbute it according to the
license.
- Original Message -
From: "Shane Mc Cormack" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 21, 2004 10:36 PM
Well a simple search on Google for "PHP Encoder" brougt back these:
http://www.ioncube.com/ $199
http://www.rssoftlab.com/downloads.php - Appears to be Free
I am sure there are more. Check http://freshmeat.net for a good Open Source
product. Also try http://www.sourceforge.net.
As always check
- Original Message -
From: "Paul Reinheimer" <[EMAIL PROTECTED]>
Hi,
I was working with the mail function today to experiment with sending
a few messages, and threw in the apropriate checks so when mail()
can't send the message the apropriate errors were raised, however, I
discovered I co
Nevermind. I got it
- Original Message -
From: "Travis Conway" <[EMAIL PROTECTED]>
To: "PHP-GEMERAL" <[EMAIL PROTECTED]>
Sent: Monday, December 13, 2004 9:30 PM
Subject: [PHP] php.ini
What is the default place for php.ini? I have a few copies when I do
What is the default place for php.ini? I have a few copies when I do a
`whereis php.ini`. I figure it is the /etc/php.ini. Anyone shed some
light? Also, is there anything that must be done after I modify the
php.ini?
Trav
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
What user did you run your command line as?
Trav
- Original Message -
From: "Michael Leung" <[EMAIL PROTECTED]>
To: "Travis Conway" <[EMAIL PROTECTED]>
Cc: "Andre Dubuc" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, December
Ha!
Sorry for that Fedora 3 is causing all kinds of havoc. I would stay away
for a while.
Trav
- Original Message -
From: "Michael Leung" <[EMAIL PROTECTED]>
To: "Andre Dubuc" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, December 12, 2004 7:25 PM
Subject: Re: [PHP] PHP &
- Original Message -
From: "- Edwin -" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Travis Conway" <[EMAIL PROTECTED]>
Sent: Sunday, December 12, 2004 10:40 AM
Subject: Re: [PHP] Command Line
Hi,
On Sun, 12 Dec 2004 09:15:46 -0600
"Travi
() support
it helps out.
Travis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Did he really ask that question on a PHP board?
That is like walking into a Coke factory, going to the manager and asking
"pepsi or coke?"
- Original Message -
From: "Raditha Dissanayake" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, December 11, 2004 7:11 AM
Subject: Re: [
try
for($i=0;$i>$months_arr_length;$i++)
look at it as this:
for(i as starting point; till i is what? greater than my length; increment i
how? by 1) {
HTH
Trav
- Original Message -
From: "R. Van Tassel" <[EMAIL PROTECTED]>
To: "'PHP general'" <[EMAIL PROTECTED]>
Sent: Wednesday, December
which does not require a tick around the value. I also dont
think that the back tick works.
HTH
Travis
- Original Message -
From: "Richard Kurth" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 05, 2004 3:05 PM
Subject: [PHP] mysql error
Could
"just works".
I was just wondering what would be the main advantage.
- Original Message -
From: "Greg Beaver" <[EMAIL PROTECTED]>
To: "Travis Conway" <[EMAIL PROTECTED]>
Cc: "PHP-GEMERAL" <[EMAIL PROTECTED]>
Sent: Sunday, November 28, 2
I do not know much about the history of php and do not know why there is
active development on both the 4 and 5 major versions, but is there a
definite reason for me to migrate from 4 to 5 on my servers?
Trav
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
I am fairly new to the concept of working wity mysql and php. I am looping
thru a text file full of county names and attempting to add these to a database.
Now the table exists and if I enter the SQL statement manually against the
database it works. The user also has read and write permissions
Another way to make money on free software is consulting. Many organizations
don't have the time, resources, or interest in adapting free software for their
needs.
cheers,
Travis
Manuel Lemos wrote:
Hello,
"Rubem Pechansky" <[EMAIL PROTECTED]> wrote in message.
select * from foo limit n, m
n == starting index, zero-based
m == maximum number of rows to return.
You probably shouldn't cross-post to different mailing lists.
cheers,
Travis
[EMAIL PROTECTED] wrote:
I need to grab a range of rows from a mysql result resource.
The resource is made up of
Would you please turn off return receipt in your messages? Thanks!
Travis
Hull, Douglas D wrote:
After doing calculations etc on my data I am wanting to place it in a textarea form in html. I
am having trouble getting my data to show up in my texarea. For example, say after all my
o the new MAC
packet. At that point, the original MAC address is lost.
cheers,
Travis
Yngve wrote:
Hi!
I wonder how i can retrive the MAC-address of the visitor using PHP?
What i am thinking about is using the MAC-address instead of the IP-address
to ban troublesome users from forums etc.
If i jus
$conn = mysql_connect("localhost:3308","user","password");
You are connecting as user "user" with password "password" in the code, yet the
error message references "[EMAIL PROTECTED]" so I'm pretty confused.
cheers,
Travis
Srirang
PHP scripts to run as the user and group associated
with the apache virtual host?
cheers,
Travis
--
Travis Low
<mailto:[EMAIL PROTECTED]>
<http://www.dawnstar.com>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Justin Patrin wrote:
Travis Low wrote:
[I hate K&R indenting]
And I'm one of them. :-) I like the K&R version because it saves
verticaly space and most editors can't really handle correct tabbing...
Arrggghh...TABS. Don't even get me started on tabs...
cheers,
Travi
of code around too. I'm sure plenty of people
disagree, so of course this is IMHO.
cheers,
Travis
Michael Nolan wrote:
charles kline wrote:
Hi all,
I was having a conversation with a friend and talking about coding
standards in the open source community (focusing on PHP). I seem to
remembe
server?
or if a file from a particular directory is downloaded...
I don't think you can do that unless the php script is used to access the file
or perform the download you speak of.
cheers,
Travis
--
Travis Low
<mailto:[EMAIL PROTECTED]>
<http://www.dawnstar.com>
--
PHP General M
something unexpected comes up.
It might be easier to buy a CFM-to-PHP converter. You can get those at most
Kmart stores. They're usually next to the bacon stretchers and smoke-shifters.
Hope this helps!
cheers,
Travis
Chris Jernigan wrote:
Hi everyone,
Ok, I need serious help. I have been ha
ypass the
Java access control systems.
I suppose I could use https, but does that encrypt the url and post data?
I think you have found yourself trapped in the java applet sandbox. You
need to create a signed applet. see
http://www.radinks.com/java/sandbox/ for a brief guide.
all the best
--
T
So all of the stuff you see when you create an account the normal way
(using the Cpanel web interface) will be displayed unless you stop it. That's
what the flush() and the ob_* stuff does.
If you find more information, that would be great. We can trade notes.
cheers,
Travis
--
Travis Low
&l
n't have permissions to read d:\ or
d:\php or d:\php\PEAR, etc.
Good luck.
Travis
>
> but I get the following error info:
> Warning: main(DB.php): failed to open stream: No such file or directory in
> D:\Apache2\htdocs\dunj\test\member\connectDatabase.php on line 2
>
> Fa
You need to learn how to use regular expressions. The manual page is here:
http://www.php.net/manual/en/ref.pcre.php
I could easily write the regular expression for you, but then you wouldn't
learn anything.
cheers,
Travis
Student wrote:
Hi i was hoping if someone can help;
I want to tri
They confuse non-C programmers, mostly.
See this: http://www.php.net/operators.comparison
cheers,
Travis
Radek Zajkowski wrote:
Here's a code snippet
// call gui object method
$method = $cmd."Object";
$class_name = $objDefinition->getClassName($obj_type);
$module = $objDef
The manual says:
";
}
?>
To paraphrase, just use mysql_list_tables() to get a table list in a result
set, then go through the result set to see if the named table exists.
But wouldn't it be easier to create the tables in the first place?
cheers,
Travis
John Taylor-Johnston wrote:
Ho
Change:
value=
to
value=""
or
value=""
cheers,
Travis
Ronald "The Newbie" Allen wrote:
Here is my problem:
When I get the value of $date and I echo it it shows up just fine
$date = date("Y-m-d H:i");
echo "$date";
2004-05-15 16:20
but w
I sent this a couple days ago and haven't heard a peep. Can anyone help me?
Or, is there a better place I could be asking these questions?
cheers,
Travis
Travis Low wrote:
Greetings. We have a need for our PHP scripts to run as the user and
group associated with each Apache virtual d
Besides checking the browser cookie settings, have one of the affected users
turn off the auto-fill form feature, then tell the browser to forget all saved
form information. Let us know what happens.
cheers,
Travis
CF High wrote:
Re: the browser track, it looks like all adversely affected
again. Even if PHP5 had a Class object (a la Java),
you'd have to instantiate *it* in order to find the relationship between class
A and class B. Prior to that point, you only have text strings to work with.
I suppose you could search the text of the file for "extends FooBar"
so I'm
getting more lost, not less. Please help!
cheers,
Travis
--
Travis Low
<mailto:[EMAIL PROTECTED]>
<http://www.dawnstar.com>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
d mean always.
No, no, that's crazy talk. :-)
cheers,
Travis
--
Travis Low
<mailto:[EMAIL PROTECTED]>
<http://www.dawnstar.com>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tant, you might be able to generate non-printable PDF files,
or generate images containing the desired text, or stuff like that. Just to
make copying/printing harder.
cheers,
Travis
--
Travis Low
<mailto:[EMAIL PROTECTED]>
<http://www.dawnstar.com>
--
PHP General Mailing List (h
Hi Richard,
Just curious...how do you do your profiling?
cheers,
Travis
Richard Davey wrote:
Hello Ryan,
Friday, May 7, 2004, 4:51:45 PM, you wrote:
RA> Nearly all programs can be written in *one* very large .php file but just
RA> thinking of going back in to make changes 3 months do
ame=$username&password=$password";);
if ($s[0])
{
# User is logged in.
}
You can also write the script on server1 so that it only returns 1 if the
request came from server2.
Disclaimer: I know this scheme isn't airtight, but it beats relying on the referer.
cheers,
Travis
[EMAI
1 - 100 of 139 matches
Mail list logo