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 www.youtube.com/user/kumargauravmai
- Original Message
> From: Gaurav Kumar
> 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 user should
> have th
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" wrote in message
news:87292e1709092
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
On Mon, 21 Sep 2009 00:43:24 +0200
"Ralph Deffke" 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 classes,
> called/ins
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
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, A
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 answere
Thanks Ashley and all the folks out there...
On Mon, Sep 21, 2009 at 3:25 PM, Ashley Sheridan
wrote:
> 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 n
- Original Message
> From: Ralph Deffke
> 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
> parameter hand
- Original Message
> From: Ashley Sheridan
> To: Gaurav Kumar
> Cc: Andrea Giammarchi ; php-general@lists.php.net
> Sent: Monday, September 21, 2009 2:55:20 AM
> Subject: Re: [PHP] Best Practice to Create Dynamic URL's- With Username
>
> On Mon, 2009-09-21 at 15:20 +0530, Gaurav Kumar w
On Mon, 2009-09-21 at 03:42 -0700, Tommy Pham wrote:
> - Original Message
> > From: Ashley Sheridan
> > To: Gaurav Kumar
> > Cc: Andrea Giammarchi ; php-general@lists.php.net
> > Sent: Monday, September 21, 2009 2:55:20 AM
> > Subject: Re: [PHP] Best Practice to Create Dynamic URL's- Wit
>
> __ Information from ESET Smart Security, version of virus
> signature database 4441 (20090919) __
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
>
>
>
> __ Information from ESET Smart Security, version o
Hi
Is it possible to do touch screen programming in PHP ? If it is then, how ?
Please specify th specs with code.
Thanks in advance,
Regards,
Manish
Original Message
> From: Manish - dz - PHP
> To: php-general@lists.php.net
> Sent: Monday, September 21, 2009 5:32:59 AM
> Subject: [PHP] Touch screen programming help
>
> Hi
> Is it possible to do touch screen programming in PHP ? If it is then,
> how ?
>Please specify th sp
Unless PHP Gtk has a module able to create an interface able to capture
coordinates in a touchscreen device ... PHP is a web server programming
language and it usually works in the server specially suited for web based
applications.
Regards
> From: man...@dotzoo.net
> To: php-general@lists.ph
From: Manish
>
> Is it possible to do touch screen programming in
> PHP ? If it is then, how ?
> Please specify th specs with code.
If the touch screen is attached to the server, yes. But you probably
need to specify which touch screen and drivers you are using.
If it is attached to the b
Tommy Pham wrote:
Original Message
From: Manish - dz - PHP
To: php-general@lists.php.net
Sent: Monday, September 21, 2009 5:32:59 AM
Subject: [PHP] Touch screen programming help
Hi
Is it possible to do touch screen programming in PHP ? If it is then, how ?
Please specify
On Mon, Sep 21, 2009 at 9:29 AM, Robert Cummings wrote:
>
>
> Tommy Pham wrote:
>>
>> Original Message
>>>
>>> From: Manish - dz - PHP
>>> To: php-general@lists.php.net
>>> Sent: Monday, September 21, 2009 5:32:59 AM
>>> Subject: [PHP] Touch screen programming help
>>>
>>> Hi Is it p
- Original Message
> From: Robert Cummings
> To: Tommy Pham
> Cc: Manish - dz - PHP ; php-general@lists.php.net
> Sent: Monday, September 21, 2009 6:29:01 AM
> Subject: Re: [PHP] Touch screen programming help
>
>
>
> Tommy Pham wrote:
> > Original Message
> >> From: Manish -
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 t
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?
author (85 bytes):$the_string," . strlen($the_string) . ','
. strlen( utf8_decode( $the_string ) ) . ',' .
strlen( utf8_decode
> $the_string = 'Марина
> Орлова';
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 encoded characters ...
__
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 [w
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';
>
>
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 fr
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 http://w
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:
> 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 l
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 c
> 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 [mailto:matt...@thorslund.us
- Original Message
> From: Andrea Giammarchi
> 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 should u
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 string
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 t
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 support
41 matches
Mail list logo