php-general Digest 21 Sep 2009 10:08:57 - Issue 6350
Topics (messages 298206 through 298221):
Re: Creating file name with $variable
298206 by: Ralph Deffke
298208 by: Tommy Pham
298216 by: Lars Torben Wilson
more info. help?
298207 by: johny why
Is an
Hi All,
I am creating a social networking website. I want that every user should
have there own profile page with a static URL like-
http://www.abcnetwork/user/username
Where username will be dynamic userid or something else.
This is something very similar to
- Original Message
From: Gaurav Kumar kumargauravjuke...@gmail.com
To: php-general@lists.php.net
Sent: Monday, September 21, 2009 12:54:30 AM
Subject: [PHP] Best Practice to Create Dynamic URL's- With Username
Hi All,
I am creating a social networking website. I want that every
On Mon, 2009-09-21 at 13:24 +0530, Gaurav Kumar wrote:
Hi All,
I am creating a social networking website. I want that every user should
have there own profile page with a static URL like-
http://www.abcnetwork/user/username
Where username will be dynamic userid or something else.
be aware if you do not have full control of your server setup, this type of
parameter handling is not possible on most shared hostings.
however url encoded it is never a problem. so be clear where yout page will
be hosted.
ralph_def...@yahoo.de
Gaurav Kumar kumargauravjuke...@gmail.com wrote in
Hi,
...
As has been suggested you could use mod_rewrite, but you don't have to
if your needs are simple (or maybe you don't have it). You could also
use the ForceType directive. Eg on my website the URLs are like this:
http://www.phpguru.org/article/20-years-of-php
Where article is actually a
On Mon, 21 Sep 2009 00:43:24 +0200
Ralph Deffke ralph_def...@yahoo.de wrote:
Hi Haig,
it would be better if u tell us what purpose u want to solf with this
approuch. Its hard to understand for a prov why u want to create a
filename .php
.php files are scrips containing functions or
A Big Thanks to all of you.
Question I was Asked by Andrea- mod_reqrite or .htaccess is the answer, but
I wonder why you choose /user/username rather than just /username a la
twitter.
I will be using many other aspects of my users something like
/projects/username/; /gallery/username/.
OK
Question I was Asked by Andrea- mod_reqrite or .htaccess is the answer, but
I wonder why you choose /user/username rather than just /username a la
twitter.
I will be using many other aspects of my users something like
/projects/username/; /gallery/username/.
well, it does not matter
I totally agree with this architecture.
You are correct, I am just in the starting phase of the project and in fact
still need to define the architecture in detail.
Now the question I asked in my last reply is still to be answered?
Gaurav Kumar
OSWebstudio.Com
On Mon, Sep 21, 2009 at 3:06 PM,
On Mon, 2009-09-21 at 15:20 +0530, Gaurav Kumar wrote:
I totally agree with this architecture.
You are correct, I am just in the starting phase of the project and in
fact still need to define the architecture in detail.
Now the question I asked in my last reply is still to be answered?
Thanks Ashley and all the folks out there...
On Mon, Sep 21, 2009 at 3:25 PM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:
On Mon, 2009-09-21 at 15:20 +0530, Gaurav Kumar wrote:
I totally agree with this architecture.
You are correct, I am just in the starting phase of the project and
- Original Message
From: Ralph Deffke ralph_def...@yahoo.de
To: php-general@lists.php.net
Sent: Monday, September 21, 2009 1:31:05 AM
Subject: [PHP] Re: Best Practice to Create Dynamic URL's- With Username
be aware if you do not have full control of your server setup, this type of
- Original Message
From: Ashley Sheridan a...@ashleysheridan.co.uk
To: Gaurav Kumar kumargauravjuke...@gmail.com
Cc: Andrea Giammarchi an_...@hotmail.com; php-general@lists.php.net
Sent: Monday, September 21, 2009 2:55:20 AM
Subject: Re: [PHP] Best Practice to Create Dynamic URL's-
On Mon, 2009-09-21 at 03:42 -0700, Tommy Pham wrote:
- Original Message
From: Ashley Sheridan a...@ashleysheridan.co.uk
To: Gaurav Kumar kumargauravjuke...@gmail.com
Cc: Andrea Giammarchi an_...@hotmail.com; php-general@lists.php.net
Sent: Monday, September 21, 2009 2:55:20 AM
ESET Smart Security, version of virus
signature database 4442 (20090921) __
The message was checked by ESET Smart Security.
http://www.eset.com
__ Information from ESET Smart Security, version of virus signature
database 4442 (20090921) __
The message
On Mon, Sep 21, 2009 at 9:29 AM, Robert Cummings rob...@interjinn.com wrote:
Tommy Pham wrote:
Original Message
From: Manish - dz - PHP man...@dotzoo.net
To: php-general@lists.php.net
Sent: Monday, September 21, 2009 5:32:59 AM
Subject: [PHP] Touch screen programming help
Hi
- Original Message
From: Robert Cummings rob...@interjinn.com
To: Tommy Pham tommy...@yahoo.com
Cc: Manish - dz - PHP man...@dotzoo.net; php-general@lists.php.net
Sent: Monday, September 21, 2009 6:29:01 AM
Subject: Re: [PHP] Touch screen programming help
Tommy Pham wrote:
well, I would say a touch screen usualy is just another 'pointing device'
like the mouse is. it depends on the operating system and the driver setup
for it. then u simply can use any browser and just adjust the pointing
receiving elements like buttons and links a bit bigger and with images
rather
Hello,
As indicated below, the strlen(tuf8_decode()) and the /u regex
modifier do not work as per my understanding.
1) What is my misunderstanding?
?php
$the_string = '#1052;#1072;#1088;#1080;#1085;#1072;
#1054;#1088;#1083;#1086;#1074;#1072;';
echo
$the_string = '#1052;#1072;#1088;#1080;#1085;#1072;
#1054;#1088;#1083;#1086;#1074;#1072;';
did you actually wrote this or i tis the PHP ml that converted utf-8 chars?
I can read only an ASCII string with length 85 ... please tell me you are not
confusing HTML entities with UTF-8
Hi there, i've the following strings:
$string1 = 'Lorem ipsum dolor http://site.com sit amet';
$string2 = 'Lorem ipsum dolor http://www.site.com/ sit amet';
$string3 = 'Lorem ipsum dolor http://www.site.net sit amet';
How can I extract the URL from these strings?
They can be [http:// + url] or
On Mon, Sep 21, 2009 at 12:52:12PM -0300, Jônatas Zechim wrote:
Hi there, i've the following strings:
$string1 = 'Lorem ipsum dolor http://site.com sit amet';
$string2 = 'Lorem ipsum dolor http://www.site.com/ sit amet';
$string3 = 'Lorem ipsum dolor http://www.site.net sit amet';
How
At 12:52 PM -0300 9/21/09, Jônatas Zechim wrote:
Hi there, i've the following strings:
$string1 = 'Lorem ipsum dolor http://site.com sit amet';
$string2 = 'Lorem ipsum dolor http://www.site.com/ sit amet';
$string3 = 'Lorem ipsum dolor http://www.site.net sit amet';
How can I extract the URL
On Mon, 2009-09-21 at 11:06 -0700, Mattias Thorslund wrote:
Jônatas Zechim wrote:
Hi there, i've the following strings:
$string1 = 'Lorem ipsum dolor http://site.com sit amet';
$string2 = 'Lorem ipsum dolor http://www.site.com/ sit amet';
$string3 = 'Lorem ipsum dolor
I have updated a php to version 5.2.11. the timestamp in php log is
incorrect. the time differs from local time with 2 hours. In changelog
I can find the following information:
Updated timezone database to version 2009.13 (2009m) (Derick)
Is it related with my problem ???
When I run the following
Jônatas Zechim wrote:
Hi there, i've the following strings:
$string1 = 'Lorem ipsum dolor http://site.com sit amet';
$string2 = 'Lorem ipsum dolor http://www.site.com/ sit amet';
$string3 = 'Lorem ipsum dolor http://www.site.net sit amet';
How can I extract the URL from these strings?
They can
I have updated a php to version 5.2.11.
you should update the keyboard as well, it fires CTRL+V twice (subject, and I
am joking ..)
When I run the following script:
?php
print date('d M Y, H:i');
?
It's returns a correct time.
correct accordingly with your local time zone, 'cause I am
What's the simplest way to test if a link is valid?
I've got a script that throughly checks the dns, etc. But, I'd also like to
check to see if the user has inputted a valid link to a webpage.
File_exists() and etc. seem to have a lot of caveats.
E.g., foo.com/bar/file.txt
Most things I've
On Mon, 2009-09-21 at 14:42 -0400, Al wrote:
What's the simplest way to test if a link is valid?
I've got a script that throughly checks the dns, etc. But, I'd also like to
check to see if the user has inputted a valid link to a webpage.
File_exists() and etc. seem to have a lot of
Several ways that I can think of:
* use the file_get_contents() which like you said, could be
overkill
* shell out to wget to retrieve just the headers for the path.
You'd be looking for a 200 return code, which indicates the URI
exists.
*
I don't think so, but I've found this (from PT-BR LIST):
$string = 'Lorem ipsum dolor http://site.com sit amet lorem www.google.com
';
preg_match_all('!(?:http://|www)[^ ]*!',$string,$links);
print_r($links);
Zechim
-Mensagem original-
De: Mattias Thorslund
- Original Message
From: Andrea Giammarchi an_...@hotmail.com
To: bm9ib...@gmail.com; php-general@lists.php.net
Sent: Monday, September 21, 2009 11:41:01 AM
Subject: RE: [PHP] wrong time stamp in log filewrong time stamp in log file
I have updated a php to version 5.2.11.
you
Jônatas Zechim wrote:
Hi there, i've the following strings:
$string1 = 'Lorem ipsum dolor http://site.com sit amet';
$string2 = 'Lorem ipsum dolor http://www.site.com/ sit amet';
$string3 = 'Lorem ipsum dolor http://www.site.net sit amet';
How can I extract the URL from these strings?
Jim Lucas wrote:
Jônatas Zechim wrote:
Hi there, i've the following strings:
$string1 = 'Lorem ipsum dolor http://site.com sit amet';
$string2 = 'Lorem ipsum dolor http://www.site.com/ sit amet';
$string3 = 'Lorem ipsum dolor http://www.site.net sit amet';
How can I extract the URL from
Hello,
on 09/17/2009 06:33 AM Dušan Novaković said the following:
I have few questions about validation XHTML and repairing if it's
broken. The problem is that I have some, for example HTML code (simple
web page) and want to load that page to DOMDocument and than make
something of it. That
Hi!
I am a new user of this feature and tool and would like to transfer data and
info to and from Windows Xp in the Virtualbox running on a Linux Ubuntu
platform.
My first version of Virtualbox was 2._ _ _ which said it did not support that
feature.
Therefore, I upgraded to 3._ _ _ which
37 matches
Mail list logo