7;s never matching.
I'd do something like:
if (is_dir($file) || ($file!=".") || ($file!="..")) continue;
That will match everything and anything, files and dot directories...
The first statement by the OP should work fine. All three will eval to
true if it is a directory, and th
Mark wrote:
--- John Nichel <[EMAIL PROTECTED]> wrote:
Chris wrote:
if (is_dir($file) && ($file!=".") && ($file!="..")) {
$users[]=$file;
}
It's only adding it to the array if all 3 of those are true. and
since
$file can't be both
add Cron to the list what this list supports?
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jay Blanchard wrote:
At least he is CRON'ing a php script
Well, we can't have that. Maybe we can talk the OP to change his
question...maybe he can ask how to set up a cron to sync his system
clock with a time server. ;)
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL
Justin Patrin wrote:
-- Forwarded message --
From: BonusMail from MyPoints <[EMAIL PROTECTED]>
Date: Mon, 27 Sep 2004 11:24:19 -0600
Subject: [SPAM] Plan Ahead. Shop For Life Insuranc
To: [EMAIL PROTECTED]
Why?
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PRO
meVal ) {
if ( is_int ( $count / 20 ) ) {
// do this
}
// do this
$count++;
}
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$count = 0;
ie, everytime $count reached 20, run special code, and reset count to $20.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
would write it. ;)
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
k is different to the
existing ones.
Can someone shed some light on this for me?
Try this:
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
resetter, but I seem to be missing
something.
Yep, you are: http://us2.php.net/manual/en/function.mysql-data-seek.php
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
--
PHP General Mailing List (htt
government employees.
Pssst, for future reference, this little link is provided at the end of
every message sent to this list
To unsubscribe, visit: http://www.php.net/unsub.php
Need me to walk you thru it, or can you handle it from here?
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
On 10/3/2004 4:02 PM Matthew Fonda wrote:
Howdy,
I noticed that quite a few people were having a hard time installing PHP
on Fedora Core or Redhat, so I put together a little tutorial explaining
how to do it. Hope it helps :D
http://mfonda.dotgeek.org/fcrh.php
I'm not complaining about any tutorial
check it upon each access for a "time
out", and update the time upon each user action. I prefer the "good enough" solution
of garbage collection, though, since most programs don't require a hard time out value.
---John Holmes...
UCCASS - PHP Survey System
http://
process...
RTFM
STFA
STFW
Mailing List
Your question is answered in the first step (as well as in the second
and third).
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
examples on what to
use to do it?
What's the format of the file?
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Pete wrote:
Is MySQL off topic for this list?
Yes.
http://lists.mysql.com/
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Philip Thompson wrote:
John,
On Oct 4, 2004, at 1:25 PM, John Nichel wrote:
Answers are usually found in a four step process...
RTFM
STFA
STFW
Mailing List
Can you clarify these abbr.? I think I understand the first one, but
what are the next two? Hehe
They deal with Searching The Archives, and
27;, $system_administrator);
$email->assign('name_of_web', $name_of_web);
$message = $email->fetch('/templates/email.tpl');
mail($to,$subject,$message);
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Profess
write a class that extends smarty and implements the send()
method.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
should i simply write the perl return values into an output file,
and read the output vars from the output file in the php file...
There are some notes on the apache_note() manual page that suggest it
could be useful. Perhaps you could put a serialized value into an apache
note in Perl and then retrie
ls=1&chkmodels=2
which means PHP makes $_POST['chkmodels'] equal to 1 for the first
variable, then sets the same $_POST['chkmodels'] equal to 2 for the
second variable in the query string. End result is one value (not an
array) remaining in $_POST['chkmodels'].
f.src = "
?>Graphics/home_off.gif";
Anyone know why the external file with two variables is not working but
it does work with one variable?
What is "doesn't work"? Does it not output the second variable? Does
it output php code?
--
John C. Nichel
ÜberGeek
KegWorks.com
716.
Please reply to the list, and not just an individual person.
Aaron Wolski wrote:
-Original Message-
From: John Nichel [mailto:[EMAIL PROTECTED]
Sent: October 5, 2004 3:51 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] why this doesn't work as an external file but does
internally?
Wh
Aaron Wolski wrote:
Ok.. here are 3 links:
https://celestica.tristarpromotions.com/NEW/index2.php
This link... you'll see that the rollover effects on the top menu work.
The external JS file (called: jsstuffnew.php) has code that looks like:
img1on = new Image(); img1on.src = "Graphics/home_on.gi
Jay Blanchard wrote:
Anything that doesn't use the word 'flava' :)
What if I name all my variables after Rocky characters? ;)
Now for the real can of worms...
On odd lines, I use spaces, and on even lines, I use tabs.
The above is an attempt at humor.
The below is an attempt at addressing the ques
s...
if ( isset ( $_POST['exact'] ) ) {
// do what you need to do if it's checked
} else {
// do what you need to do if it's not checked
}
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Aaron Todd wrote:
Does anyone know how I might be able to have php push a file to an FTP
server?
Thanks,
Aaron
http://us4.php.net/ftp
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Brian wrote:
Those of us that view emails as a list of conversations would
appreciate not changing subject lines.
Changing the subject line as in putting 'SOLVED' in it? Hell, I wish
more people did that.
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (ht
h has to be declared on page using session stuff.
You can use session_save_path() to do this, but you'll need it in every
script.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
--
PHP Gener
)...
http://news.netcraft.com/archives/2004/10/07/aspnet_security_flaw_can_bypass_password.html
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Matthew Sims wrote:
The following sites have been known to use PHP:
www.insight.com (is a publicly traded fortune 1000 company. The site is
90% PHP)
Insight now uses CF. It was a political change, not one agreed on by
the techies.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL
Greg Donald wrote:
On Thu, 07 Oct 2004 15:16:51 -0400, John Nichel <[EMAIL PROTECTED]> wrote:
Insight now uses CF. It was a political change, not one agreed on by
the techies.
I don't know much about CF at all. Was it because of the shopping
cart capabilities of CF? I read somewhere
Paul Reinheimer wrote:
Hi,
I am trying to determine the length (in terms of seconds) of an MP3
file. I have seen the ID3 pear project, but I didn't see anything
there to tell me how long the song was. There is a fileinfo pecl
project, but it doesn't mention MP3s and I couldn't find any good
documen
John Nichel wrote:
I've used this before, and it will give you the length of the song...
http://leknor.com/code/php/view/class.id3.php.txt
I haven't used this one, but it claims to do mp3 as well as other file
formats...
http://getid3.sourceforge.net/
--
By-Tor.com
It's all abou
www.s9y.org
I am pretty sure it can support multi-user, although i don't know if
there is an admin interface yet for that.
John
On Thu, 2004-10-07 at 19:32, Teng Wang wrote:
> I tried some but all got failures.
> I prefer the blog with calendar and multi-users
>
bookmarks = unserialize ( $_COOKIE['bookmarks'] );
} else {
$bookmarks = array();
}
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
answer that is PHP only.
If memory serves, we had to do this at my last job, and I think we found
sockets to be the answer. I don't remember any of the details (wasn't
my project), but I'm pretty sure they opened a socket to POST the data thru.
--
John C. Nichel
ÜberGeek
KegWorks.c
dmail? Thanks
Well, to use the mail() functions on a *nix box, you need to have some
MTA running on it. Maybe php's *other* mail functions are more along
the lines of what you're looking for
http://us4.php.net/imap
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
er an Apache2/PHP bug that caused issues like this with any
request variables, but I couldn't find it on bugs.php.net. Have you
reported this there, yet?
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.p
eract/forms.html#input-control-types
http://www.w3.org/TR/html4/interact/forms.html#h-17.4
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Stephen Craton wrote:
I agree on the whole MS opinions bit. I also agree about it being off topic,
and meant to open it by saying that, but I erased it in fear PHP would
consider it OT and become all mad and whatnot.
The only problem with the shared hosting idea is that I would have to take
time to
Stephen Craton wrote:
Thanks for the reply, and forgive me if I top post, just a bad habit. I
think my original intention has been misunderstood. :)
I don't plan on starting my own hosting business at all, I just want to
allow access to my own personal Apache server to show the clients I am
working
Curt Zirzow wrote:
* Thus wrote M Saleh EG:
but plz Radhita, don't bring your biased opinions about MS vs
Opensource or Linux vs Windows over here. It's so subjective and plus
gets an off-topic topic more off !
I can install BSD apache/php/mysql w/firewall and totally locked
down in 15 minutes and
;mytmp' does not exist (relative to your script), then PHP will
default to the system directory. Or, if PHP cannot write to 'mytmp',
it'll default back to the system temporary directory.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|arc
>
[3] => [4] => ) 1
FYI - The skills is a string, skys and slus ints.
Also I had only filled in 3 of the 5 for each.
Since we're just guessing at what you want, I'll guess something like this:
foreach($skills as $key => $skill)
{
echo "$skill - {$skys[$key]} - {$slus[$key
Stuart Felenstein wrote:
John,
Sorry, I'm not trying to be unclear.
There are 3 columns in the table.
In the user form. there are 30 fields, 10 text and 20
dropdown.
The 10 text are:
$_SESSION['skills'] = $_POST['skill'];
The first dropdown is :
$_SESSION['skys&
t tag to look as such...
On the page that the form is submitted too, the selections will be in an
array ($_POST['foo']).
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
itted. If your select tag is as
such...
When you submit the form, you can check it like this...
if ( isset ( $_POST['foo'] ) ) {
//user has selected something
do stuff
} else {
//user did not select anything
do other stuff
}
--
John C. Nichel
ÜberGeek
Please reply to the list.
bruce wrote:
john..
thanks for the response...
but i don't need a multiple select.. what i need are multiple select/menu
lists...
list1list2 list3
however, the issue i'm really facing is how to detect that a user has
actually selected an item in a give
.
Rahul S. Johari
http://us4.php.net/mnogosearch
http://www.mnogosearch.org/
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s you have
magic_quotes_runtime enabled. If you find that you need to call
stripslashes on your data, then you're escaping it twice before you
insert it.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.php
ndard
user on that box also member of that group(I did that with kusers in kde),
all files now were on chmod 0664 and all directories on 0775.
But my user didn't have write permission, this doesn't go into my head.
Is Apache running as apache:apache? Check your httpd.conf file.
--
John C.
to work and I am racking my brain trying to figure out what.
register_globals
Search the archives and/or manual for it.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
follows
>
> ^[\d\D\w\W\s\S.]{0,50}$
>
> but it doesn't appear to be working...
> Any ideas?
Well, strlen() would be more appropriate than a regular expression to check for the
length of a string.
Wouldn't /^.{0,50}$/ work, though?
---John Holmes...
(back to Cisco training..
a do this:
include 'http://www.example.com/guestbook.php?option=view&offset=$offset';
Variables do not get parsed inside single quotes. Either quote your
include statement with double quotes, or break out of the single quotes
and append the variable.
--
John C. Nichel
ÜberGeek
K
Mike R wrote:
I am trying to re-compile php, but keep getting erros that the mysql
extensions are not installed. I got the binary from php.net and included
mysql in configure (following). What am I not doing correctly?
You're trying to compile the binaries?
--
John C. Nichel
ÜberGeek
KegWork
x27;d file I should say. ;p
This is PHP5? If I'm not mistaken (someone will correct me if I am),
PHP5 doesn't come bundled with MySQL anymore, so you will have to tell
the configure where MySQL is installed...
--with-mysql=/path/to/mysql
--
John C. Nichel
ÜberGeek
KegWorks.com
client and
shared packages too)
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ww/html/php05.php on line 66
Failure in moving file. Array ( [userfile] => Array ( [name] =>
page01.html [type] => text/html [tmp_name] => /tmp/phpoJDoSs [error] =>
0 [size] => 721 ) )
What are the permissions on /var/www/html?
Owner/Group of /var/www/html?
Owner/Group which A
d over... Now I think
about it that could just be it freeing up each individual allocated bit
of memory, but I've left it running for ten minutes and the children
still didn't manage to finish. Anyone got any thoughts?
Thanks,
John McKerrell
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Perry, Matthew (Fire Marshal's Office) wrote:
What is the best way to output 38884 as $38,884.00?
Use the manual Luke...
http://us4.php.net/number_format
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Jay Blanchard wrote:
[snip]
I am using COPY for PostgreSQL and having problems...
[/snip]
So, is this a PHP problem, or a PostgreSQL problem?
Why does it matter??? Just answer the ding-dang question. ;)
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing
Jay Blanchard wrote:
[snip]
Why does it matter??? Just answer the ding-dang question. ;)
[/snip]
Easy there Kemosabe', someone might mistake you for someone who wants to
help!
*goes back to lurking*
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing
Kevin Grigorenko wrote:
Unfortunately, for some security
issues, I cannot get to the Apache statistics for the site, so I have to
create my own solution.
I recommend you find a better host that gives you access to the raw logs
and/or doesn't have safe_mode on.
--
---John Holmes...
A
Ken Tozier wrote:
if ($view)
{
echo $publication."\n".$view;
}
if(isset($_POST['view']))
{
echo $_POST['publication'] . '' . $_POST['view'];
}
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/
Can anyone recommend a wysiwyg web development software which is php
friendly, i.e. you can design the page in wysiwyg and insert php code into
the html without destroying the screen image preview. I've been using
Frontpage to compose the page then dev-php to insert the php code. This has
worked we
Dear All,
Do any one know how to integrate PHP with Jasper Reports. I tried it..but
its says "Unable to create Java Virtual Machine "
Please refer this link for more details.
http://jagadmaya.com/integration-phpjasperreports.html
--
Thanks & Regards,
Johny
www.phpshore.com
Dear All,
Do any one know how to integrate PHP with Jasper Reports. I tried it..but
its says "Unable to create Java Virtual Machine "
Please refer this link for more details.
http://jagadmaya.com/integration-phpjasperreports.html
Regards,
Johny
www.phpshore.com
HI Terion,
Please put the error reporting on top of the page and try. If you have any
errors in the include file, it won't execute the rest of commands. Make the
changes to code as follows.
Regards,
Johny John
www.phpshore.com
On Fri, Dec 5, 2008 at 3:50 AM, Terion Miller <[EMAIL P
Dear All,
Do any one know how to integrate PHP with Jasper Reports. I tried it..but
its says "Unable to create Java Virtual Machine "
Please refer this link for more details.
http://jagadmaya.com/integration-phpjasperreports.html
--
Regards,
Johny
www.phpshore.com
Hi Chris,
Sorry few days back also I posted the same request. But it did not shown up
in my mailing list. That's why I posted it again thinking that my previous
email did not reach. Sorry for the trouble.
On Fri, Dec 5, 2008 at 11:52 AM, Chris <[EMAIL PROTECTED]> wrote:
> Jo
Hello all,
In short, I'm trying to set my uploads_tmp_dir variable, as my hosting
provider has it set ot the default NULL (I'm using dreamhost).
I tried setting my own php.ini as instructed exactly on their wiki
(http://wiki.dreamhost.com/PHP.ini) but doing so causes PHP to essentially
die. p
""Daniel Brown"" wrote in message
news:...
> I'm not certain about their configuration, but does DreamHost have
> AllowOverrides turned on in their httpd.conf?
>
> If so, just place a full php.ini file in your root web directory
> (not just the line for uploads_tmp_dir, but an entire
I know this isn't a php question (though I'm using PHP for the server
side... does that count?). I'm hoping though that some of you guys are just
as experienced in ajax as you are PHP, because I can't find any good ajax
forums.
you can respond to me personally if needed, to keep it off the php
ve shell access). Does it need to
be built into a *.so or *.dll and added to the PHP.ini file? If so, how do
I build it?
In short, what next?
Thanks
>
> On Dec 16, 2008, at 9:20 PM, John P wrote:
>
> > I know this isn't a php question (though I'm using PHP for th
>> "Bojan Tesanovic" > wrote in message
>> news:>...
>>> Well you need to know the TMP file name that has been in progress of
>>> upload, it is usually at /tmp folder
>>
>> I know how to get that...
>>
>>> also you need to know the actual size of file uploading, there is an
>>> extension for
> > I already downloaded that, thanks. How do I apply it is my question.
> > There's no documentation for the installation of it, that I see
>
> 'Course it is :)
>
> http://www.php.net/manual/en/install.pecl.php
>
> Linked from here: http://pecl.php.net/doc/index.php
>
I tried installing
> > I tried installing it like the documentation said... but I got the
> > following errors. I contacted the hosting service (dreamhost) and they
> > said they don't
> > provide support for pecl, though they do support perl. Anyone?
> >
> > --
> >
> > $ pecl install uploadprogress
> >
> >
ator still has yet to manually
activate my account so hopefully I can get some help here. :)
P.S. In case it helps you can see the source code to the API files I
referenced here:
fudapi.inc.php: http://pastebin.com/m349a4bff
forum_login.php: http://pastebin.com/m176b28b3
--
Best Regards,
John
#x27;s a lengthy, complicated process that is going to demand a little
more of you than just reducing your app to 2 steps and asking a
mailing list how to do it.
Good luck, let us know how it goes and how we can help you take (much
smaller) steps.
John Corry
--
PHP General Mailing List (htt
On Sat, Dec 27, 2008 at 1:13 PM, Daniel Brown wrote:
>Good afternoon, John;
>
>There's a syntax error on line 19:
>
>> if(external_fud_login(fud_fetch_user($user)['id']))!=NULL) //User ID is
>> valid and logged in
>
>It should be:
>
On Sat, Dec 27, 2008 at 3:32 PM, John Musbach wrote:
>
> Thanks, turns out there were multiple problems with my code. My final
> working code is:
>
>
>
> for anyone who may be trying to accomplish the same thing as me. In
> addition I edited index.php in the theme
+1
Is it me or has the php mailing list kind of dumbed itself down in the
last 5 years?
>
>What?
>
> --
>
> daniel.br...@parasane.net || danbr...@php.net
> http://www.parasane.net/ || http://www.pilotpig.net/
> Unadvertised dedicated server deals, too low to print - email me to find out!
>
Lately I've been hearing a lot of people evangelizing that PHP with
Resin is actually much faster than with mod_php, but I cannot find any
benchmark anywhere.
Is it true or just vendor BS?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
I'm sure this is simple for yous all but I'm not sure I know the answer.
$myFileLast = "http://www.myDomain.com/text.txt";;
if (is_readable($myFileLast))
{
$fh = fopen($myFileLast, 'r');
$theDataLast = fread($fh, 200);
fclose($fh);
Or even a google search widget...
Miles Thompson wrote:
> On Mon, Dec 29, 2008 at 10:47 AM, Tiji varghese wrote:
> ht-dig (or digg)
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Wouldn't it be:
mysql_query("UPDATE database set Field = Field+1 WHERE
Criteria='Criteria'");
Note: no '' around +1, = operator
John Corry
ad...@buskirkgraphics.com wrote:
> Okay maybe i have just forgot.
> I am trying to update the database and do a
do yourself (and everyone else on the list) a favor and do at
least just even a MODEST amount of research before sending your hundreds
of lines of crappy code out to the ether asking someone to fix it for you!
John
PS - sorry if that's not soft and sensitive enough. Where I come from
(vintage lat
That was too heavy handed.
I'm sorry. Please forgive my harshness.
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ubuntu linux has been really easy to set up, administrate and
install/run programs.
It has a huge user base, really good support forums and supports a
large variety of hardware configurations. I'm running it on my
Thinkpad T40, which I use for PHP development when travelling. It's
rock solid and e
I read (well, skimmed anyway) this thread and saw that the original
poster's issue was resolved.
For the archives though, I'd like to mention that the PEAR Auth and
MDB2 packages would make all of the things that are being done by this
code much easier for the programmer.
Auth allows you to authe
ny other included classes/files), code
explorer views/trees, SVN/CVS support, debugging...very capable IDEs.
Zend costs $$, Eclipse/PDT is free.
John Corry
On Thu, Jan 8, 2009 at 6:33 PM, Skip Evans wrote:
> Ross McKay wrote:
>>
>> You should also check out editors and IDEs - STFW for pr
p;hl=en
Without looking at any of their code, I do notice that some class
descriptions look promising.
John Corry
On Fri, Jan 9, 2009 at 8:03 PM, Shawn McKenzie wrote:
> c...@l-i-e.com wrote:
>> Short Answer:
>>
>> You can't.
>> :-)
>>
>> http://en.wiki
Daniel Brown wrote:
On Sun, Dec 28, 2008 at 13:02, John Allsopp wrote:
$myFileLast = "http://www.myDomain.com/text.txt";;
if (is_readable($myFileLast))
{
$fh = fopen($myFileLast, 'r');
$theDataLast = fread($fh, 200);
Nathan Nobbe wrote:
On Sun, Dec 28, 2008 at 11:02 AM, John Allsopp wrote:
Hi
I'm sure this is simple for yous all but I'm not sure I know the answer.
$myFileLast = "http://www.myDomain.com/text.txt";;
if (is_readable($myFileLast))
{
$fh = f
Nathan Rixham wrote:
John Allsopp wrote:
Nathan Nobbe wrote:
On Sun, Dec 28, 2008 at 11:02 AM, John Allsopp
wrote:
Hi
I'm sure this is simple for yous all but I'm not sure I know the
answer.
$myFileLast = "http://www.myDomain.com/text.txt";;
if (is_
sses to generate
basic HTML elements, then tables, then forms, then images.
It saved me a bunch of time and taught me to see the website as an
application...not as a web-page with pieces of data in it.
Somehow, coming to that bit of knowledge was very helpful to my life
as a programmer.
Good luck,
due to schedule and
commitments, this 'playing around' is going to have to take place in
the production, for-hire context.
Surely we're all familiar with 'on the job training', right? ; )
John Corry
> ZF isn't going to save you any time on a single project. The tim
You might want to (seriously) look at the PEAR Auth class.
It can save you a TON of time...all the stuff you're trying to do with
this code (that you were just told you're going to have to rewrite) is
already done for you.
It's very handy for registering/tracking users of your sit
Same here.
They're just extraneous elements and can hide whitespace.
I leave them open in all applcation files and close them only in templates.
>
>
> I only close tags inside templates. All of my logic code is outside
> of markup though so those files never have a closing ?> for exactly
> the
2501 - 2600 of 7254 matches
Mail list logo