On Mon, Jan 19, 2009 at 13:22, Kyle Terry wrote:
>>
> Aside from a few perl scripts, I have rewritten all my bash scripts in PHP.
> It's just easier to manage for me.
/me nods.
In 2001, I started rewriting a library of Perl scripts I'd been
building since 1995 (5.0.0.1), which meant rewr
On Mon, Jan 19, 2009 at 14:37, VamVan wrote:
> Why are you guys Burning your egos here? Its not the right place.
It's a PHP-related general discussion, Vam. Perhaps not entirely
in good manners, but it's 100% relevant. Indeed, this is the right
place.
That aside, as intelligent folks,
On Mon, Jan 19, 2009 at 14:32, Richard Heyes wrote:
>> Notice: Undefined index: 2 in /home/raosetc/public_html/purl/p.php on line
>> 19
>>
>> and here is Line 19:
>>
>> $data = explode("/", $_SERVER['REQUEST_URI']);
When I view that file, on line 19, I see:
echo << Are you sure it's an array
On Mon, Jan 19, 2009 at 15:19, wrote:
>
> I think it means Rob has to bake us all some brownies and ship 'em out to
> us...
> :-)
Except that it also means we know by pattern that we can't count
on him to break away from the computer long enough to do that. ;-P
--
daniel.br...@parasane.
On Mon, Jan 19, 2009 at 15:08, Kyle Terry wrote:
> On Mon, Jan 19, 2009 at 12:05 PM, VamVan wrote:
>> I believe in Community building. My only concern was the kind of language
>> used is very intimidating , that's all.
>
> Are you referring to bad language?
An unintended pun. Nice. ;-P
--
On Mon, Jan 19, 2009 at 15:12, Ian wrote:
> Hi all,
>
> Appologies if this is the wrong list - please direct me in the right
> direction should this be the case.
>
> I am running PHP 5.2.8 on freebsd 7.0 and am getting a Seg fault when
> running one of my new programs. We run a couple of other sit
On Mon, Jan 19, 2009 at 15:39, Jason Pruim wrote:
>
> Only when you log into certain accounts and view the file after I had made
> changes :P
I figured you had already changed it, but when you're root, you
don't have to log in to other accounts. ;-P
> What I'm really going for is given this
On Mon, Jan 19, 2009 at 15:56, dbrooke wrote:
> Hello,
> I am interested in hearing opinions about if there
> are reasons to stay with a 32bit php/apache if there
> is 64bit options available. What are the pros/cons
> in running in the different architectures?
Like running PHP/64 on CentOS5/3
On Mon, Jan 19, 2009 at 17:08, Shawn McKenzie wrote:
>
> Somebody used to post a weekly summary that tallied our brownie points. ;-)
I'm working on it! ;-P
--
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
Unadvertised dedicated server d
On Mon, Jan 19, 2009 at 18:57, Nathan Rixham wrote:
[snip!]
>
> the idea wouldn't be a framework or another php classes, more of a repo full
> of common classes to save us all some time
[snip!]
Maybe you could call it PEAR. ;-P
--
daniel.br...@parasane.net || danbr...@php.net
http://w
On Mon, Jan 19, 2009 at 19:28, Daniel Brown wrote:
>
>Maybe you could call it PEAR. ;-P
(Sent too quickly. Meant to include this, too:)
A good place to start is by showing how this would benefit from
things like PEAR and PECL. Also note that phpclasses.org isn't an
On Mon, Jan 19, 2009 at 18:33, Kyle Terry wrote:
>
> "Hey Mr. Bossman, I'm a software veloper. Here is my resume."
Well, if we're dropping the de- as a prefix, and dis- and de- are
veritably synonymous, and the opposite of dis- is en-, you may as well
start calling yourself an enveloper.
On Mon, Jan 19, 2009 at 19:38, Nathan Rixham wrote:
> Daniel Brown wrote:
>>
>>A good place to start is by showing how this would benefit from
>> things like PEAR and PECL.
>
> care to contrib that info / thoughts dan? :-) good idea.
No, I'm just typin
On Mon, Jan 19, 2009 at 19:58, Edmund Hertle
wrote:
>
> Well, I think we should not go to fast... maybe we are setting up SVN,
> webspace, domain, mailing-list and in the end this is only used by 4-5
> people. Because than this can be discussed on this mailinglist. But if there
> are quite enough
On Mon, Jan 19, 2009 at 20:12, Nathan Rixham wrote:
>
> lol and sourceforge [doh]; that way if anything takes off natural user base
> and integrated promotion "most active" - possibly with aid of tony :D
There's also Google Code, or - if you guys want to be
less-restricted - you can use my 4L
On Mon, Jan 19, 2009 at 21:31, Nathan Rixham wrote:
>
> dan - great offer, I'd like to take you up on it [could we install any extra
> needed software, such as a wiki / list or something that allows discussion
> and document storage made website available]
> svn - a must imho
Nothing against
On Mon, Jan 19, 2009 at 22:46, Paul M Foster wrote:
>
> Incidentally, I'm relatively new to the list, but I see a lot of CCs
> along with posts to the list. The CCs are only useful if non-subscribers
> can post to the list. Is that the case?
Yes, sir. It's also part of the rules and guidelin
On Mon, Jan 19, 2009 at 22:59, Kyle Terry wrote:
>>
> I demand Dan and Nathan to go to bed now.
I consider Nathan a friend and talented programmer, but nothing
could make me interested in that way, Kyle.
--
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://ww
On Wed, Jan 21, 2009 at 20:27, Jack Bates wrote:
> How can I tell the difference between a variable whose value is null and
> a variable which is not set?
Unfortunately, in PHP - like other languages - you can't.
A variable is considered to be null if:
* it has been assigned the
On Thu, Jan 22, 2009 at 06:46, derby wrote:
>
> http://www.talkderby2me.com
Heh. I like the domain name, Derby. Welcome to the list.
--
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
Unadvertised dedicated server deals, too low to print
On Thu, Jan 22, 2009 at 15:11, Shawn McKenzie wrote:
>
> Or something like this (dunno, just brainstorming):
>
> function setornull(&$var)
> {
>if (!isset($var)) {
>return false;
>}
>elseif (is_null($var)) {
>return null;
>}
>
On Thu, Jan 22, 2009 at 15:12, Daniel Brown wrote:
>
>Unfortunately, neither solution would work. isset() will return
> FALSE even for an instantiated and explicitly-defined NULL variable.
Forgot to mention that, in addition, is_null() will return TRUE
for both explicitly
On Sat, Jan 24, 2009 at 10:03, Martin Zvarík wrote:
> Hi,
>
> I currently host my site by Powweb, and I am WANT to change it - can you
> guys recommend me something good?
>
> Powweb's website looks awesome and it's the best marketing I think I had
> saw! After a minute it makes you think there is
On Mon, Jan 26, 2009 at 15:57, Tom wrote:
> I am a new user of PHP, and am using Dreamweaver CS3 for the webpages. The
> following page has my form but the submit button is not working properly.
> http://www.richlandmtg.com/contacts.html
> What code is needed and where does it get placed in the pa
On Mon, Jan 26, 2009 at 16:34, Tom wrote:
>
> Shawn,
> So would that look something like this:
> if ($_SERVER['REQUEST_METHOD'] == "POST") {
>
> // Just to be safe, I strip out HTML tags
> $realname = strip_tags($realname);
> $email = strip_tags($email);
> $feedback = strip_tags($feedback);
>
> /
On Tue, Jan 27, 2009 at 13:12, Robert Paulsen wrote:
>
> When I run the app I find that $_REQUEST is almost empty. it contains
> PHPSESSID but none of the data submitted through an html form.
Bring on the code, Rob.
--
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/
On Wed, Jan 28, 2009 at 17:52, Daniel Kolbo wrote:
> Hello,
>
> Is it okay for me to post a message looking for programmers willing to help
> out with a php project?
Absolutely, Dan, go right ahead. As long as you don't "bump" the
thread or post strictly to advertise any kind of product or s
On Wed, Jan 28, 2009 at 22:15, Daevid Vincent wrote:
> At the very top of my login.php page I have this:
>
> require_once('./includes/gui/gui_setup.inc.php');
> ...
> ?>
>
> (I've tried with and without the "./" prefix as if that might make a
> difference)
Not that it will make a difference
On Wed, Jan 28, 2009 at 22:23, Daevid Vincent wrote:
>
> What a newb mistake!!! UGH. Sorry for wasting everyone's bandwidth.
> Is there a way to have this email deleted from the archives -- I am
> embarrassed by it! HAHAH!
You wish. Just be glad the PostTrack isn't running right now.
I'd cou
On Sat, Jan 31, 2009 at 13:44, Ernie Kemp wrote:
> Thanks for your replies.
>
> Very useful...
> /Ernie
Please don't top-post.
This question doesn't have a direct answer. Three major things
come into play: first, the type and scope of work involved; second,
your level of skill and w
Top-posting.
Chris, you're on the wrong list. Please send messages like this
to php-general@lists.php.net, and subscribe[1] to that list to follow
along. This QA list is for the PHP Quality-Assurance Team.
1: http://php.net/mailinglists - or - php-general-subscr...@lists.php.net
On Wed, Feb 4, 2009 at 09:46, wrote:
> Okay here is my question.
> Does anyone know of an RPM of php that is pre-compiled with all the extras
> like soap, mssql, freetds, etc...
Afternoon, Rich, et al;
On an RHEL 5.3 system, you should already have 'yum' installed
with the repos ready
On Wed, Feb 4, 2009 at 16:55, Thodoris Goltsios wrote:
>
> This probably more then one rpm :-) .
You're correct. ;-P
I meant to lead-off the last email by saying that there is no
single official RHEL RPM that includes those modules/extensions by
default.
--
daniel.br...@parasane.net
On Wed, Feb 4, 2009 at 16:56, Kyle Terry wrote:
>
> I might be wrong, but I think the packages have the php version
> appended to the it. so php5-soap, for example.
Some do, some don't.
> At least it's like that in Fedora.
Depends on the RPM packager and the repo, among other things.
On Wed, Feb 4, 2009 at 17:24, tedd wrote:
[snip!]
>
> I understand that I can have one record set up for each tutor, and another
> record set up for each course, and then tie the two together by another
> record like an assignment. That way I can have as many assignments as I want
> tying courses
On Thu, Feb 5, 2009 at 07:56, Jochem Maas wrote:
>
> and the answer to you Q, like everyone else said: yup :-)
>
> PS - given you unlimited resources you might consider doing a
> charitable donation to FoxNews aficionados :-)
Or reminding you how to speak English, Jochem. What the hell are
y
On Thu, Feb 5, 2009 at 18:50, Daevid Vincent wrote:
> Is there a way to use the default values of a function without
> specifying every single one until the parameter you want to modify in
> PHP5 ?
Daevid,
Check out func_get_args(): http://php.net/func_get_args
Then you can rename y
On Thu, Feb 5, 2009 at 20:10, German Geek wrote:
> I've thought about this problem before but couldn't think of a solution
> either. How does func_get_args() solve this? You could make a wrapper
> function without that.
It's all in how it's used. Ironically, I don't remember saying
that you
On Fri, Feb 6, 2009 at 12:44, Terion Miller wrote:
>
> -
> $sql = "INSERT INTO admin (UserName, Password, Name, Email, Property,
> Department, AddWorkOrder, ";
>$sql .= "ViewAllWorkOrders, ViewNewOrders, ViewNewArt,
> ViewPendingWorkOrders, ViewPendingArtwork, ViewCompl
On Fri, Feb 6, 2009 at 13:03, Jochem Maas wrote:
>
> there are a zillion variations on this theme (e.g. using HEREDOC syntax
> and/or putting each field & value
That's right, when reading the OP's email, there was meant to be a
#4 as well.
4.) Use HEREDOC syntax:
--
daniel.br...@pa
On Fri, Feb 6, 2009 at 13:46, Frank Stanovcak wrote:
>
> Ok...I'm sure that somewhere in here has to be reference to the original
> topic, and php...right?
>
> Frank...there is isn't there? *sigh*
Stick around you'll see this happens frequently. It's
considered a Good Thing[tm]. It main
On Fri, Feb 6, 2009 at 17:26, Frank Stanovcak wrote:
>
> since when have the words 'sanity', and 'programmer' ever been used together
> outside of the setup for a joke?
>
> Frank...still faithfully taking his pills.
This guy fits in well 'round there here parts. ;-P
--
daniel.br...@parasa
On Fri, Feb 6, 2009 at 19:36, Shawn McKenzie wrote:
>>
> What happened to your tin foil hat?
Who needs that when your fillings pick up the live and encrypted
radio broadcast of the CIA cafeteria lunch schedule?
--
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || ht
On Sun, Feb 8, 2009 at 09:35, Richard Heyes wrote:
> Hi,
>
> Can anyone point out some general statistics on PHP usage compared to
> other server languages? I've tried Netcraft, but they only appear (or
> I've only found) to have statistics on the httpd server used.
All @php.net addresses rej
On Mon, Feb 9, 2009 at 14:39, Andrew Ballard wrote:
>
> For what it's worth, you missed .do, .dll, .exe, and I'm sure others
> (yes, I've seen web sites running what I assume to be compiled web
> applications with all of these extensions) as well as anything using
> URL rewriting such as Zend Fram
On Mon, Feb 9, 2009 at 14:58, Shawn McKenzie wrote:
>>
> And HTM shows 701M, so it is now beating out ASP :-)
Another bone of contention is the masking --- I mentioned it
briefly in my original remarks in this thread, but on further
investigation, it may actually have a substantial impact on
On Mon, Feb 9, 2009 at 15:21, Stuart wrote:
>
> I would advise you against wasting your time because there is no
> reliable way to tell what systems a server is actually using to serve
> pages. Nearly all sites I work on these days use techniques to remove
> extensions from URLs, and a fair few hi
On Mon, Feb 9, 2009 at 15:41, Stuart wrote:
>
> Indeed, but I find coding without QA requirements is a great way to relax.
It's what I do to take a break from coding for The Job[tm]. I
suppose that makes us seem a little ill, eh?
--
daniel.br...@parasane.net || danbr...@php.net
http://www
On Sat, Feb 7, 2009 at 23:37, Richard Lynch wrote:
> I figure if job postings are okay, then so are job requests, right? :-)
>
> I'm looking for PHP work in Chicago or telecommuting.
>
> My resume is here:
> http://l-i-e.com/resume.htm
I will certainly vouch for Richard's experience to perspe
2009/2/13 Lists :
> :-)
> Donovan
To you, as well! I think it's really neat. For us in the EST
time zone, with time adjustments and such, it'll be 6:31:30p tonight.
--
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
Unadvertised dedicat
On Tue, Feb 24, 2009 at 14:55, Terion Miller wrote:
>
> And yes yes I know escape my strings ...I'll go back and do that when the
> stupid insert is actually working...
I'd suggest that it's probably the reason your insert isn't
working. Add your mysql_real_escape_string() stuff there, and t
On Thu, Feb 26, 2009 at 09:50, Ondrej Kulaty wrote:
> Your answer is neither relevant nor funny. :-|
And your response wasn't welcome. So there, everyone's even.
--
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
Unadvertised dedicated se
On Mon, Mar 2, 2009 at 05:55, Richard Heyes wrote:
>
> This is just a test to see who here still thinks I'm a dork.
>
> --
> Richard Heyes
>
> HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari:
> http://www.rgraph.org (Updated February 28th)
I still do, Richy.
--
daniel.br...@par
On Mon, Mar 2, 2009 at 09:17, Richard Heyes wrote:
>
> I see. You won't be wanting any of billion dollar empire when I make
> it then. Ho hum.
No, but coincidentally, the month that happens, your hosting goes
up to $46.2M US per month, and you're locked into a contract for a
minimum of three
On Tue, Mar 3, 2009 at 10:42, PJ wrote:
> This really needs some explanation
> I found this on the web:
>
> with it there was the comment "the direction of those single-quotes matters"
> (WHY ?)
Those are called "backtick operators." Like in BASh and most
other *NIX shells, that instructs t
On Tue, Mar 3, 2009 at 10:57, PJ wrote:
>>
> forgot to add:
> What's the difference between back ticks or quotes and regular single
> quotes?
> How does one enter back quotes from the keyboard?
Welcome to the Internet!
The first place you should look when you have a question is on
Google
On Tue, Mar 3, 2009 at 11:03, PJ wrote:
>>
> ok, ok, I found it but you guys are assuming that this is something
> everybody should know... hell, I've been tinkering with programming and
> unix etc. for many, many years and this is the first time I ran into
> back quotes.
> SORRY!
You're assu
On Tue, Mar 3, 2009 at 11:16, PJ wrote:
>>
> I don't think it's necessary to be sarcastic...
That's okay, I'll allow it anyway.
> Hate to disappoint you, but on my computer (FreeBSD 7.0) on Firefox
> Google does not go directly to the php manual... it goes to some nitwit
> site thinkexist.co
On Tue, Mar 3, 2009 at 11:22, PJ wrote:
>>
> Ok, but how does this relate to a command passed from a php Web page?
> I don't understand the processus.
> I use bash on my FreeBSD and have not needed a back quote yet that I can
> recall... and on WinXP?
As in the email I just sent, remember to
On Tue, Mar 3, 2009 at 11:27, PJ wrote:
>>
> What is not clear to me is why would I need to use a shell? What kind of
> situations call for it's use?
On what kind of programming did you spend those years?
--
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://w
On Tue, Mar 3, 2009 at 11:41, PJ wrote:
>
> I appreciate the input and I take the chastizing with a ton of salt.
It's all in good fun and being the new guy, it's at your expense. ;-P
Having thick skin means you'll stick around and probably learn a
lot from the folks on this list. S
On Tue, Mar 3, 2009 at 11:48, PJ wrote:
>>
[snip!]
> Now I'm trying to modify my daughter's ptahhotep.com to use MySql. It's
> a learning experience.
Through the years I've probably sounded like a broken record or
like I'm paid to endorse them or something, but I'd recommend checking
out PHPB
On Tue, Mar 3, 2009 at 11:59, PJ wrote:
>>
> :-*
Umm thanks?
(You do know that's the emoticon to symbolize kissing, right?)
--
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupo
On Tue, Mar 3, 2009 at 12:13, PJ wrote:
>>
> Let's not get too personnal here... it was meant to blow a kiss of
> appreciation to all... ;-)
> I may not be gay, but I love my gay friends... and I do not mean in the
> way Jimmy Carter's translators goofed when he went to Poland and
> announced tha
On Tue, Mar 3, 2009 at 12:37, Robert Cummings wrote:
>
> You have an extraneous "sometimes" in the above sentence!
Yeah, I was waiting for that ;-P
--
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at
On Tue, Mar 3, 2009 at 18:56, PJ wrote:
>
> But I'm sorry I missed the fun earlier about the American foibles...
> unfortunately that should go on some other list and I wish I knew which
> one - one that had some smarts to it (like this one) and I'd like to
> really hear what people think about "u
[Inhales]
On Wed, Mar 4, 2009 at 01:01, PJ wrote:
> Ok. You asked for it... I have to rant a bit get this off my chest as it
> has been bugging me for a while and this is not directed at anyone in
> particular.
I'm noting "for a while here"
> I do not appreciate it when there is
On Wed, Mar 4, 2009 at 10:42, PJ wrote:
> Right on. Good comments.
> No offense taken and none intended.
> I am enoying the list and will continue to participate, if i may.
> I have learned a great deal already and really do appreciate the help.
So you mentioned your involvement in televisio
On Wed, Mar 4, 2009 at 10:52, Robert Cummings wrote:
>
> *runs away while lightning bolts strike him over and over*
Would the sound to accompany this mental image be one of a Daffy
Duck or Woody Woodpecker nature?
--
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ ||
On Wed, Mar 4, 2009 at 11:20, Boyd, Todd M. wrote:
>
> I think it's a Queen song, actually...
Mama-mia.
--
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1
--
PHP General M
On Wed, Mar 4, 2009 at 11:31, Stuart wrote:
>
> The results returned by Google are not constant. They vary based on your
> location, which domain you're using, which index instance you hit and a
> number of other things, most of which are not public. It is more than
> possible that PJ did get diff
On Wed, Mar 4, 2009 at 12:28, Stuart wrote:
>
> As I understand it, and like you I certainly don't claim to know for sure,
> clusters within the Google infrastructure sometimes fall behind with their
> copy of the the index which can mean different results even between page
> reloads. Never seen t
On Wed, Mar 4, 2009 at 13:31, PJ wrote:
> am I vindicated ;-)
Eh.
Whether or not it is true in practice, in theory it certainly
sounds plausible to have varying results. However, your argument,
verbatim, wasn't entirely with merit. ;-P
All in all, sure. At the least, it shows th
On Wed, Mar 4, 2009 at 15:03, Ashley Sheridan wrote:
> On Wed, 2009-03-04 at 10:23 -0500, Daniel Brown wrote:
>> Secondly, if you are getting a different response from Google,
>> Sally, then you didn't use the same input
>
> I'd beg to differ. It's well k
On Wed, Mar 4, 2009 at 15:07, Ashley Sheridan wrote:
>>
> Yeah, been crazily busy with both my regular job and freelance stuff. I
> think I'm booked up to Armageddon now :-/
Good for you. It means you're definitely doing something right.
--
daniel.br...@parasane.net || danbr...@php.net
ht
On Wed, Mar 4, 2009 at 15:26, Robert Cummings wrote:
>
> See this setting in your php.ini:
>
> memory_limit = ???M
Also let us know what you're using for the database and how you're
doing it. You mention that the .dat files are 4-5MB, but don't say if
that's the database you're using, or if
On Wed, Mar 4, 2009 at 17:51, PJ wrote:
> elseif ($obligatoryFieldNotPresent = 1) {
> $obligatoryFieldNotPresent = 0;
> }
Are you certain you only wanted a single equal operator in the
last elseif() condition? Further, are you sure it should even be an
elseif() and not a str
On Wed, Mar 4, 2009 at 20:10, Al wrote:
>
> $obligatoryFieldNotPresent=null;
>
> foreach($_POST, as $value)
> {
> if(!empty($value)continue;
Parse error. ;-P
--
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hos
On Wed, Mar 4, 2009 at 20:28, Shawn McKenzie wrote:
>
> Well, the ground beef is actually tartar and it goes without saying that
> it would be topped with foie gras and grape chutney with caviar on the side.
with gold-plated platinum flakes and diamond-dust salt.
--
daniel.br...@paras
On Wed, Mar 4, 2009 at 22:46, VamVan wrote:
>
> Hey Guys I have Question. I just noticed that once the whoami thread
> reached 100 posts it automatically created another thread. Is this intended?
>
> Can a discussion be only 100 post's long??
>
> Just out of curiosity :)
In Gmail, yes. That
On Thu, Mar 5, 2009 at 09:20, haliphax wrote:
> Got tired of using Microsoft Outlook to sort the PHP list discussions...
> apparently a lot of people use GMail for this, so I figured I would hook it
> into my GMail account and see what happens.
Boyd?
--
daniel.br...@parasane.net || danbr..
On Thu, Mar 5, 2009 at 10:05, haliphax wrote:
>
> Indeed, it is I! Now, if I can only figure out how to keep GMail from
> mangling quotes... ah, there's the Plain Text button! :)
Yeah, and if only we could get a GreaseMonkey script to stop
top-posting by default. Not to suggest that you did,
On Fri, Mar 6, 2009 at 08:37, PJ wrote:
> good morning all,
>
> How can I include src and href in include files that will refer the
> right paths from files in different hierarchies(directory tree levels)?
> Example:
> include dirname(_FILE_)."/../lib/header1.php"; ?
>
> This does not work:
> snip
On Fri, Mar 6, 2009 at 00:12, Clancy wrote:
>
> Don't take me too seriously on this. But it riles me that the same peoplewho
> threw out the
> GOTO as being too dangerous could then introduce the break statement which,
> as I said,
> it's like a GOTO without a target. As a long-time assembly pro
On Fri, Mar 6, 2009 at 08:53, Daniel Brown wrote:
>
> Then you'll be happy with the advent of PHP6:
>
> http://php.net/goto
Uhh yeah, and 5.3 before that even. Duh.
--
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilo
On Fri, Mar 6, 2009 at 08:53, Stuart wrote:
>>
>> 1.) We use regular open tags to be compatible with all stock
>> PHP configurations.
>> 2.) We echo out the response from dirname() so that it's
>> output to the HTML source.
>> 3.) We use dirname() twice, so it gives the dirnam
On Fri, Mar 6, 2009 at 09:15, Robert Cummings wrote:
>
> I remember the internals debate about 2 or 3 years ago. I was on the pro
> goto side... it does have uses when used properly.
I wholeheartedly concur. The first programming language I taught
myself was BASIC about 23 years ago. We may
On Fri, Mar 6, 2009 at 19:12, Daevid Vincent wrote:
> A friend was showing off his regex-fu and the virtues of "named groups"
> and how great Python is, knowing that PHP had to be equally as good
> (since it uses the same PCRE libraries), we whipped up this little test.
> So now us PHP folks can e
On Fri, Mar 6, 2009 at 19:29, Clancy wrote:
>
> Great news! .. Now ALL I have to do is to persuade my host to update from
> 4.3.9. (or
> maybe switch!)
If your host is only using PHP4, you probably should switch
because who knows what else they've chosen not to upgrade. Check out
th
On Sat, Mar 7, 2009 at 05:49, Clara wrote:
>
> Thanks a lot,
>
> I will better set an iframe to the official validator as a start :)
Clara,
In the future, please just start a new thread as opposed to
hijacking on that is six months old. It'll get more attention and
keep things organized
On Sat, Mar 7, 2009 at 02:12, Paul M Foster wrote:
>
> Someone would add gotos to a language *on purpose*?!
Keep in mind that, unlike BASIC, the PHP implementation of GOTO
will go to a label. Don't worry, you don't have to start line
programming.
(Those of you who read multiple threa
On Sat, Mar 7, 2009 at 15:23, Robert Cummings wrote:
>
>
> for( ; ; )
> {
> echo "You can make an endless loop in many, many ways.\n";
> }
>
> ?>
--
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at Pilot
On Sun, Mar 8, 2009 at 22:35, Richard Lynch wrote:
> I have a program sending/receiving data to/from my CLI script using:
>
> 0 stdin
> 1 stdout
> 2 stderr
> 3 ??
UNIX Channel 3 is a non-standard stream resource, though I don't
believe it's even yet been given a name, so we'll have to cha
On Mon, Mar 9, 2009 at 11:14, Per Jessen wrote:
>
> "UNIX Channel 3" ??
Sorry, Per, I must've stuttered. Yes, I said, "UNIX Channel 3."
For lack of a better reference. That not withstanding, the direct
response to Lynch's question still holds true.
> It's just file descriptor 3, that's all
On Mon, Mar 9, 2009 at 16:59, George Larson wrote:
>
> Am I imagining things? If not, how would I properly make them able to run
> through a browser?
You're not imagining things. In general, unless set up with
SuExec privileges, Apache (which is probably the HTTP server you're
using) will r
On Mon, Mar 9, 2009 at 17:17, haliphax wrote:
>
> OP is a Windows user. I am assuming that they are using Windows.
Re-read the context of that first paragraph from the OP and you'll
see why I presume (as opposed to *ass*ume) that, despite his
experience with Windows, this is a *NIX-like setup
On Mon, Mar 9, 2009 at 17:21, Daniel Brown wrote:
>
> Re-read the context of that first paragraph from the OP and you'll
> see why I presume (as opposed to *ass*ume) that, despite his
> experience with Windows, this is a *NIX-like setup.
DISCLAIMER: This was supposed
On Mon, Mar 9, 2009 at 17:39, haliphax wrote:
>
> That, or "***holes."
That's what my name tag says.
--
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1
--
PHP General Mail
On Tue, Mar 10, 2009 at 01:23, Paul M Foster wrote:
>
> (Dan, make the check out to... ;-)
>
> Paul
I prefer PayPal. Thanks to the Postal Service, the cost of a
stamp is probably more than a bribery or endorsement payment. :-\
--
daniel.br...@parasane.net || danbr...@php.net
http://www.p
On Tue, Mar 10, 2009 at 15:13, revDAVE wrote:
> Newbie question...
>
> At the end of a php block I'm trying to use a redirect to go to another
> page.
>
> header('Location: show.php');
>
> It works on my test server w php 5.2.6 but not at the main server w v 5.12
Did you already have some out
101 - 200 of 2533 matches
Mail list logo