Hi all,
I've got dates in the following formats e.g.
August 05, 2008, 10:14 am (e.g. today's date)
August 04, 2008, 7:08 am (e.g. yesterda's date)
August 03, 2008, 9:08 am (e.g. in the past)
I am trying to format these dates do I can display them like this
Today at 10:14 am (today)
Yesterday at
Hi All,
I've been reading on the internet that is most secure to store your database
details outside of the public accessible folder.
I am a bit stuck on how to do this.
I've got a folder "db_details" that contains the file "dbdetails" which
contains the database login info. I normally includ
Hi All,
Has anyone created or has tips for the creation of user groups in a app. e.g.
a Facebook group ?
I am trying to create groups in a social application where users on the site
can join a group etc its just much like a facebook group.
Any help will be appreciated.
Ta.
--
PHP
/profiles/profile/username/baller
--- On Fri, 7/25/08, Per Jessen <[EMAIL PROTECTED]> wrote:
> From: Per Jessen <[EMAIL PROTECTED]>
> Subject: Re: [PHP] URL Rewrite not working for me
> To: php-general@lists.php.net
> Date: Friday, July 25, 2008, 3:15 AM
> Don Don wrote:
&
Hi all,
I've set up a url rewrite code below.
Options +FollowSymLinks
RewriteEngine on
RewriteRule profile/username/(.*) profile.php?username=$1
It only works when I type in this url
http://www.example.com/profiles/profile/username/baller/
If i do not then the normal url
http://www.example
http://nuedream.com/nuequizpro/
I cant get the above product to work in php5. The product works in php4 but
has problems with a $this variable in the database class with php5. Has anyone
used the above product in php5 and found a way arround it ?
Cheers
Don
---
27; instead.
Actually, I think you may need to swap member/friendwith as well...
But why you are storing everybody's NAME twice is beyond me...
Or maybe I'm guessing wrongly what the fields are...
On Thu, January 24, 2008 10:49 am, Don Don wrote:
> Hi all I have a table below
>
Hi all I have a table below
CREATE TABLE `friends` (
`id` int(11) NOT NULL auto_increment,
`member_id` int(11) NOT NULL,
`member` varchar(32) NOT NULL,
`friendwith` varchar(32) NOT NULL,
`friendWithId` int(11) NOT NULL,
`status` varchar(32) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyIS
phplist. its awesome, opensource and will support all your needs.
srihari naidu <[EMAIL PROTECTED]> wrote: Hi,
I am searching for a good open source php mailing list manager for some
days. can any one suggest me one please.
Thanks in advance.
Regards,
Sri.
---
I want to allow people to be able to post links to videos on youtube. I've
implemented it in a certain way by allowing them to copy the tag into a
textarea and then submit the form. I pick up the form data, validate and
display on the site.
Is there any better way to do this or php plugins o
I meant i want to get rid of the braces. e.g. get the text up to the start of
the first brace and ignore anything from the first brace onwards
Dan Shirah <[EMAIL PROTECTED]> wrote: Maybe I'm blind, but I don't see any
commas in the text you are referring
to.
On 8/2/07, Don Don
hi all, am trying to cut some texts from a serries of string values e.g.
"this is how we do (50 cents feat. the game)"
"give it to me (nelly feat timerland)"
"let me hold you (bow wow feat omarion)"
i want to cut off the text between the comas and i've seen some examples
this is a test";
preg
I am reading the following xml data in a very large file using XML reader, the
xml structure looks like the xample given below
head
tail
head
part head 1
Part head 2
tail
head
tail
head
part head 1
Part head 2
tail
I can read al
Hi all,
Am kind of confused between htmlspecialchars and htmlentities. I've got data i
need to display data on a page containing e.g. " but will like it to be
displayed as "
htmlspecialchars or htmlentities or page character set ?
Cheers
-
Take the I
oad a page?
This is an extremely general question, like "I want users to be able to view
each other's profiles, how?"...
--rob
On 5/22/07, Don Don
wrote:
>
> Hi All, am trying to integrate a poke me poke you functionality to a web
> 2.0 application am developing. I've
Hi all, am trying to run a regular expression to a list of user entered data on
some forms.
I've creating what i think is a matching pattern for each category as shown
below:
function validateEntry($regularExpression, $fieldValue)
{
if(preg_match($regularExpression, $fieldValue))
{
Hi All, am trying to integrate a poke me poke you functionality to a web 2.0
application am developing. I've got some ideas of how to do this but am not
sure if its the best aproach. i am using the idea of a PM system since i've
done that earlier.
Does anyone have any way of implementing a po
oops ! [0]
cheers
Richard Davey <[EMAIL PROTECTED]> wrote:
Don Don wrote:
> I am having a bit of a confusion printing the values of an array i have. When
> i print_r this array it contains the following:
>
> Array ( [ValueA] => ValueA [ValueB] => valueB
I am having a bit of a confusion printing the values of an array i have. When i
print_r this array it contains the following:
Array ( [ValueA] => ValueA [ValueB] => valueB [TestValue] => TestValue [Errors]
=> Array ( [0] => Array ( [ErrorId] => AD27JH [ErrorMsg] => OK ) ) )
I can get the va
really hope
I'm mistaken, is to recompile php
with "--disable-soap".
I don't think you can do it from php.ini.
--
itoctopus - http://www.itoctopus.com
"Don Don"
wrote in message
news:[EMAIL PROTECTED]
> How can i disable soap client and server for php5, reason i
How can i disable soap client and server for php5, reason is that i've got
NuSOAP (which i must use) and its classes clash with that of PHP5. My php
configuration (when using displays soap client and server enabled
for php5. I need to disable if ..amd looking into the configs..to see how
che
The new custom extension now behaves exactly like a php file.
Cheers..at least your tip lead me there.
Don Don <[EMAIL PROTECTED]> wrote:
Hi Roberto, i tried out your tip, it does work but it looses the syntax
highlighting functionality. Is there anyway I can make the new extension open
Hi Roberto, i tried out your tip, it does work but it looses the syntax
highlighting functionality. Is there anyway I can make the new extension open
up its contents with syntax and other php oriented functionalities ?
Cheers
Roberto Mansfield <[EMAIL PROTECTED]> wrote:
Don Don
Hi all, i've changed my server's apache config to recognize my custom extension
for php files. And all my development filenames now come with this new
extension.
However my IDE (Php Eclipse) will not recognise this new extension as a php
file, even though it opens it up but it looses all t
Hi all, whats the best way to perform a redirect after out put has started ?
using header:location will not work unless theres been no output.
I usuall use the method below, however am concerned for browsers that do not
support javascript.
$location = 'index.php';
echo "\n";
e
both running the same version of Apache, and that both are
running as either CGI or an apache module?
-Logan
-Original Message-----
From: Don Don [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 22, 2007 4:34 PM
To: PHP List
Subject: [PHP] PhpMyAdmin slow on windows but fast on linux
Hi all h
Hi all how can i make my phpmyadmin run fast on windows ? I installed
phpmyadmin on a linux and windows machines, but the windows version runs
(executes) too slow, i.e. it takes to long for a page to be loaded, while it
take less that 3 secs for the linux version. Both however run on the same
Hi all am having issues with a little problem regarding php5 installation on a
debian linux machine.
while trying to install php5 and supported modules I get the following error
messages, what can i do to get rid of them and continue with the installation ?
The following packages have
tes() on a non-object in line
(see problematic line)
How can i solve that or determine when there are no more tags to parse.
JM Guillermin <[EMAIL PROTECTED]> wrote:
And with :
foreach ($xml as $cs) {
.
}
??
jm
----- Original Message -
From: "Don Don"
To: "PHP
I am using simple xml to parse an xml file, the program parses the file and
produces an error at the end of the foreach loop when it reaches the end of the
tag, it tries to look for an element/tag when there is none and produces an
error "Call to a member function attributes() on a non-object" t
Hi all
whats the best open source (free) xml parser for php (4 >) ? I've come across
a few but am looking the best as adjudged by the industry.
Cheers
-
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
Hi all, i've got apache/php4 running on windows xp with good hardware
configuration etc. However, the speed of execution of php pages is really slow.
When testing on my local development machine it takes a few more seconds
executing php files than it should normally take.
How can I up th
Hi all,
my program outputs some characters along with text from the database, these
texts contain chars like â â. How can i get rid of theses chars and
display their meaning instead ? I am thinking htmlspecialchars or html
entities will do the job will it ?
Cheers
-
; wrote:
You should use urlencode() on variables that will go into URL arguments.
You might have a whitespace in any of those variables and the URL stops at
the first whitespace. If those spaces are at the ends and are not
significant, you might want to use trim().
- Original Mess
inside double qoutations.
Hope that helps
On 3/12/07, Don Don <[EMAIL PROTECTED]> wrote: I've got the following url
rewriting problem.
on page 1 i've got this
See
and on page 2 i've got this
$messageID = $_REQUEST["messageId"];
$userID =
inside double qoutations.
Hope that helps
On 3/12/07, Don Don <[EMAIL PROTECTED]> wrote: I've got the following url
rewriting problem.
on page 1 i've got this
See
and on page 2 i've got this
$messageID = $_REQUEST["messageId"];
$userID = $_REQUEST[
I've got the following url rewriting problem.
on page 1 i've got this
See
and on page 2 i've got this
$messageID = $_REQUEST["messageId"];
$userID = $_REQUEST["userId"];
when i check to see the values of these variables its says its empty, but when
i place my curs
Hi all, i am building a system using php and am trying to separate the html
codes from the php codes (i.e. placing them in separate files), I am from the
java struts/spring background and seem to be finding it difficult doing that at
the moment with php.
I've got a registration form in htm
38 matches
Mail list logo