Home Page   #c  #ruby-lang  #cisco  #mysql  #apache  #javascript  #java  #perl  #php  #openmoko   Wallpapers Girl
Reliable $1 Web Hosting by 3iX

Channels


#php

02 November 2007


Total 55 pages. You are browsing page 1/55.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last

--- Log opened Fri Nov 02 00:00:06 2007
--- Day changed Fri Nov 02 2007
00:00 <****> we can do anything
00:00 <****> kk thanks
00:00 <****> RewriteRul ^/(.*?) index.php?page=$1
00:00 <****> Rule*
00:00 <****> Thanks :) I'm going to try it out
00:01 <****> RewriteRule ^/(.*?)/?$ index.php?page=$1
00:01 <****> ^ rather
00:01 <****> [domon]: sub in perl can access variables which are around it not like the php "function"...
00:01 <****> Ok, should I use the second one insteadd?
00:01 <****> yea
00:01 <****> it's like a kind of procedure
00:02 <****> I get an internal server error nor
00:02 <****> now*
00:02 <****> RewriteEngine On needs to be in there too
00:02 <****> what's the name of the function which returns the directory component of a filename? I can't find it
00:03 <****> kSid: #apache and check the error log.
00:03 <****> itrebal, shouldnt you put a "\" before the "." in ".*"?
00:03 <****> Ceriak: dirname
00:03 <****> dirname
00:03 <****> kSid: nope, I want to match anything
00:03 <****> what suprising :D thx
00:03 <****> I have rewriteengin on
00:03 <****> :p
00:03 <****> RewriteEngine On
00:03 <****> RewriteRule ^/(.*?)/?$ index.php?page=$1
00:03 <****> kSid: #apache
00:03 <****> And apache doesn't help me at all
00:03 <****> yea
00:03 <****> I tried them before this
00:05 <****> guys i have a question
00:05 <****> is possible make a script php for paralelo port ?
00:05 <****> AIReece45: when I do a search on 'string offset array' I get a number of entries where people say they have received that and should not have, one guy saying that until he replaced $x[]= with $x[0][0]= he was getting it, but they're all labelled bogus, so I don't know if it ended up being a bug fix or not
00:06 <****> DanYWalker: paralelo port?
00:06 <****> itrebal: Why is there a "?" before "$"? here: RewriteRule ^/(.*?)/?$ index.php?page=$1
00:07 <****> AlReece45, or serial port
00:07 <****> kSid: that means that the / is optional... but still wrong channel
00:07 <****> kSid, makes that last / optional
00:07 <****> DanYWalker: I would think its possible, but I don't have much experience working with parallel or serial ports
00:08 <****> AlReece, this channel is more helpful than Apache, no one even talks over there
00:09 <****> baalwww: It is probably people are trying to get the first character of the first character or something like that (which makes no sense).
00:09 <****> kSid, I beg to differ
00:11 <****> Hi. Is there a way to ensure a mysql query passed via PHP does not consider case sensitivity? I've writtne a script for registering new users and one of the checks it does is to see if the e-mail already exists. t has failed in some cases because the e-mail in the system is TedSmith@Hotmail.com and my script has used tedsmith@hotmail.com. Consequently two accounts with the same e-mail address exist in the system.
00:11 <****> alReece45: no, they pretty much were people saying they are arrays...sheesh, I don't know...except that it was ok on 4.2 and 5.2.4 and not in between... I guess i might have to load 5.2.0 on a machine and try to dump the var at that line
00:11 <****> kSid: I join in there and the first thing I see is a response to a problem... Either way, it might be better for you to learn PCRE for regular expressions...
00:11 <****> or get the guy to switch to a different hoster
00:11 <****> Gizmo_the_Great: More of a MySQL question, but use LCASE in the MySQL query... and strtolower in PHP
00:12 <****> baalwww: link?
00:12 <****> = and LIKE is case insensitive
00:12 <****> is there something that is the equivalent of 'Managed Objects' for PHP?
00:12 <****> AlReece45, thanks mate. Yes, I agree it is grey as to which to ask it in.
00:12 <****> hmm, at least LIKE
00:12 <****> Oh my god
00:12 <****> I just started writing a PHP object abstraction library, and I'm convinced that someone must have done this before
00:13 <****> What's wrong with this:
00:13 <****> RewriteEngine On
00:13 <****> RewriteBase /
00:13 <****> RewriteRule ^/owned$ index.php?ownage
00:13 <****> That doesnt even work
00:13 <****> i have a script that moves files, when running it directly from shell it works ok, but calling that script from php with exec reports an error that i don't have the permission to move the files
00:13 <****> rewrite ownz you
00:13 <****> why's that?! :S
00:13 <****> kSid: definitely a #apache question
00:13 <****> How about just general data/database abstraction?
00:14 <****> I asked there.
00:14 <****> Lets see if anyone even notices my question
00:14 <****> I've got a php-cli script running, buffering output in the background before it emails it ... is there any way I can peek into that memory buffer without stopping the script?
00:14 <****> Insolit: "from php" means with http request of with php-cli?
00:14 <****> or
00:14 <****> Naktibal1a: from http
00:14 <****> (Basically, I'm wondering if the output buffer is being written to the disk anywhere by php)
00:14 <****> Beryllium: ob_get_contents()
00:14 <****> from http script is executed by apache with rights of apache user
00:15 <****> AlReece45: link to ... ?
00:15 <****> baalwww: bug report.
00:15 <****> AlReece45: That would have to be called from within the same script ... this one has a very long runtime, assuming it's actually working, and I would rather not interupt it. :)
00:15 <****> Naktibal1a: but with the right permissions that should not be a problem right?
00:16 <****> 666 permission should be ok no?
00:16 <****> Beryllium: you're trying to get the contents of the output buffer... from where?
00:17 <****> from outside of PHP
00:17 <****> Beryllium: If you want to you could tell the script to write the output buffer to a file every x statements using declare and register_tick_function
00:17 <****> here are two with the same thing, though not recent...i navigated away :( http://bugs.php.net/bug.php?id=32621 and http://bugs.php.net/bug.php?id=28107
00:18 <****> Insolit: yes
00:18 <****> I have a single script with a runtime of ... well, I don't know how long. Could be 12 hours. And I foolishly wrote it without having it provide status updates :) So I was just wondering if the ob contents were being spooled to an actual file
00:18 * AlReece45 can't wait to get compiz-fusion working again
00:20 <****> I am running php version 5.2.1, however things like "date_format('%m-%d-%Y',$thisDate)" echo "$thisDate-format('m-d-Y')"; seem to work :( the table shows Y-m-d, I wanted to turn it around to US standards
00:20 <****> Naktibal1a: is there a way to run exec, capture its output, and despite the command has been successfully ran to proceed with php execution?
00:21 <****> seem to work = seem to NOT work
00:21 <****> YEAH!
00:21 <****> I LOVE HTACCESS!
00:21 <****> IT WORKS!!
00:21 <****>format()
00:21 <****> Hi i want best refrence for PHP Security !!! Articles Example Tuturials .... :D
00:21 <****> ?
00:22 <****> hello
00:22 <****> Hi
00:23 <****> AlReece45: I'm going to run it on one system with the older version of 5...and find out what's in it right before it crashes...then I'll do the same on 4 and on the newer version of 5...then I guess we'll know... I'll let you know what I find out
00:23 <****> I am having trouble with my login with my php andmysql
00:23 <****> well it is about the if and else statement


Total 55 pages. You are browsing page 1/55.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last


Tutti i nuovi CAP Italiani. Come ottenere il database completo