Hi
At the top of a webpage I have:
getTop("my company title");
?>
to deliver the first lines of HTML, everything in HEAD and the first
bits of page furniture (menu, etc).
In the furniture object in getTop(), I want to return a string that
includes the CSS file that I call with an include_on
Govinda wrote:
On Jul 5, 2009, at 2:33 PM, Govinda wrote:
I am confusing myself reading the docs just now.
i.e.:
include_path
basename()
and dirname()
I had thought from many months ago that
would include
somefile.php
living in
somedir
regardless from where in the site structure I am calling
> On Mon, Jul 6, 2009 at 2:01 AM, Jason Carson wrote:
>>> On Mon, Jul 6, 2009 at 1:45 AM, Jason Carson
>>> wrote:
> Hello everyone,
>
> I am trying to create a PHP login script using cookies but am having
> some
> troubles. Here is my setup
>
> Â Â index.php -> authent
On Mon, Jul 6, 2009 at 2:01 AM, Jason Carson wrote:
>> On Mon, Jul 6, 2009 at 1:45 AM, Jason Carson wrote:
Hello everyone,
I am trying to create a PHP login script using cookies but am having
some
troubles. Here is my setup
index.php -> authenticate.php -> adm
> On Mon, Jul 6, 2009 at 1:45 AM, Jason Carson wrote:
>>> Hello everyone,
>>>
>>> I am trying to create a PHP login script using cookies but am having
>>> some
>>> troubles. Here is my setup
>>>
>>> Â Â index.php -> authenticate.php -> admin.php
>>>
>>> I want a login form on index.php that allow
On Mon, Jul 6, 2009 at 1:45 AM, Jason Carson wrote:
>> Hello everyone,
>>
>> I am trying to create a PHP login script using cookies but am having some
>> troubles. Here is my setup
>>
>> index.php -> authenticate.php -> admin.php
>>
>> I want a login form on index.php that allows me to login wi
>> Hello everyone,
>>
>> I am trying to create a PHP login script using cookies but am having
>> some
>> troubles. Here is my setup
>>
>> index.php -> authenticate.php -> admin.php
>>
>> I want a login form on index.php that allows me to login with my
>> username
>> and password and then passes
> Hello everyone,
>
> I am trying to create a PHP login script using cookies but am having some
> troubles. Here is my setup
>
> index.php -> authenticate.php -> admin.php
>
> I want a login form on index.php that allows me to login with my username
> and password and then passes $_POST['userna
On Mon, Jul 06, 2009 at 12:03:34AM -0400, Jason Carson wrote:
> Hello everyone,
>
> I am trying to create a PHP login script using cookies but am having some
> troubles. Here is my setup
>
> index.php -> authenticate.php -> admin.php
>
> I want a login form on index.php that allows me to lo
On Sun, 2009-07-05 at 18:55 -0700, c...@hosting4days.com wrote:
> Hi folks - Newbie question...
>
> Q: Is there a way to add BCC and/or CC parameters to this simple email
> function?
>
> If there is a better way to do this - please let me know
>
> Thanks in advance
>
>
> $Name = "te
Hello everyone,
I am trying to create a PHP login script using cookies but am having some
troubles. Here is my setup
index.php -> authenticate.php -> admin.php
I want a login form on index.php that allows me to login with my username
and password and then passes $_POST['username'] and $_POST
Imagine you are hosting 10.000 subdomains.
SOLUTION #1:
you create directories like:
a/
b/
...
s/
s/some-subdomain.freehosting.com/ (this includes CONF.php, where you
store some basic infos)
Everytime visitor hits the page you do:
@include('t/test-subdomain.freehosting.com/conf.php')
Govinda wrote:
>
> On Jul 5, 2009, at 6:15 PM, Shawn McKenzie wrote:
>>
>> AFAIK, include '/somedir/somefile.php'; looks for that specific file in
>> that specific path because you gave an absolute path.
>
> Well, that is what I wanted.
> So I tried this:
> include '/MY_inc_php/GovBC_php_function
Hi folks - Newbie question...
Q: Is there a way to add BCC and/or CC parameters to this simple email
function?
If there is a better way to do this - please let me know
Thanks in advance
$header = "From: ". $Name . " <" . $email . ">\r\n"; //optional
headerfields
$fullto = $reci
I seem to be having a minor issue with preg_replace not working as
expected when using UTF-8 strings. So far I have found out that \w
doesn't seem to be detecting UTF-8 strings.
This is my test php file:
';
$data = preg_replace('~([\w\.]{6})~u', '$1 < >', $data);
echo 'Data After: ', $data;
On Jul 5, 2009, at 6:15 PM, Shawn McKenzie wrote:
AFAIK, include '/somedir/somefile.php'; looks for that specific file
in
that specific path because you gave an absolute path.
Well, that is what I wanted.
So I tried this:
include '/MY_inc_php/GovBC_php_functions.inc';
but that fails.
So I
On Jul 5, 2009, at 4:17 PM, Michael A. Peters wrote:
I use
$includeArray[]="/usr/share/pear";
$includeArray[]="/some/other/path";
$includeArray[]="/yet/another/path";
$incPath = impode(':',$includeArray);
ini_set("include_path",$incPath);
is that ^ something one can generally set on
Waynn Lue wrote:
> Yeah, that's why I was hoping to maintain a separate install, since it
> would be easier to diff the patches.
>
> Shawn: Thanks for the suggestion to extend, I only wanted to make
> small changes to an existing function though, so it's harder to do it
> that way. My other though
Govinda wrote:
> I am confusing myself reading the docs just now.
>
> i.e.:
> include_path
> basename()
> and dirname()
>
> I had thought from many months ago that
>
> would include
> somefile.php
> living in
> somedir
> regardless from where in the site structure I am calling it.
>
> Now it d
Stuart wrote:
2009/7/4 PJ :
Stuart wrote:
2009/7/4 PJ :
Ashley Sheridan wrote:
On Sat, 2009-07-04 at 10:47 -0400, PJ wrote:
Jim Lucas wrote:
PJ wrote:
Could somebody please explain to me what is wrong with this code?
In my script it works, returns the correct id, but when I try it
Govinda wrote:
in my include statement, I am now successfully using:
/home/metheuser/public_html/
and am not anticipating moving this site.. but still I am thinking
there must be a way to make the code bullet proof to dir/ name changes
*after* the virtual server root.
Or do people just stop
On Jul 5, 2009, at 2:33 PM, Govinda wrote:
I am confusing myself reading the docs just now.
i.e.:
include_path
basename()
and dirname()
I had thought from many months ago that
would include
somefile.php
living in
somedir
regardless from where in the site structure I am calling it.
Now it doe
On Jul 5, 2009, at 2:33 PM, Govinda wrote:
I am confusing myself reading the docs just now.
i.e.:
include_path
basename()
and dirname()
I had thought from many months ago that
would include
somefile.php
living in
somedir
regardless from where in the site structure I am calling it.
Now it doe
On Sun, Jul 5, 2009 at 15:43, loki wrote:
> Hello
>
> Is it plane to release 64 bit binary for php on windows ?
Pierre?
--
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
Check out our great hosting and dedicated server deals at
http://twit
I am confusing myself reading the docs just now.
i.e.:
include_path
basename()
and dirname()
I had thought from many months ago that
would include
somefile.php
living in
somedir
regardless from where in the site structure I am calling it.
Now it does not seem to be doing that.
What is the sa
Waynn Lue wrote:
> Yeah, that's why I was hoping to maintain a separate install, since it
> would be easier to diff the patches.
>
> Shawn: Thanks for the suggestion to extend, I only wanted to make
> small changes to an existing function though, so it's harder to do it
> that way. My other thought
Yeah, that's why I was hoping to maintain a separate install, since it
would be easier to diff the patches.
Shawn: Thanks for the suggestion to extend, I only wanted to make
small changes to an existing function though, so it's harder to do it
that way. My other thought was to refactor the underly
Hello
Is it plane to release 64 bit binary for php on windows ?
--
Stéphane
Http://www.arkadia.com/fra/
Http://www.arkadia.com/usa/
Http://www.arkadia.com/rus/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Waynn Lue wrote:
> I wanted to makes some local edits to a PEAR package that I downloaded in
> order to build some custom functionality into it. What's the best way to
> manage this process to ensure that I don't accidentally blow away any
> changes if I update the package? Should I just copy the
Waynn Lue wrote:
> I wanted to makes some local edits to a PEAR package that I downloaded in
> order to build some custom functionality into it. What's the best way to
> manage this process to ensure that I don't accidentally blow away any
> changes if I update the package? Should I just copy the
I wanted to makes some local edits to a PEAR package that I downloaded in
order to build some custom functionality into it. What's the best way to
manage this process to ensure that I don't accidentally blow away any
changes if I update the package? Should I just copy the entire package to
my own
> -=- (from other discussion)
> Interesting that facebook uses both. The fedora maintainer for the apc rpm
> listed it as conflicting with memcache. If you can use both, that's a fedora
> packaging but that should be fixed.
I've never seen, nor heard of, a full scale caching implementation
that do
Brandon Johnson wrote:
you think this is similar to http://www.danga.com/memcached/ or you think
this method would be faster ? Which do you say would be the greatest
benfit ?
In my case I think apc is better because I'm single server xen host and
(after reading the other posts in thread) mo
33 matches
Mail list logo