Hi all,
I am new to PHP.
I know some thing about SESSIONS in PHP, I am in need of your suggestions.
how to use sessions ?
what is an efficient way to handle session_id ? like that.
How efficiently we can use session concept in our web site development ?
how it is helpful.
thanks in advance.
--
John Taylor-Johnston wrote:
David,
I'm under pressure to permit AND, OR & NOT. My research group insists
that MySQL 4 syntax is "not good enough".
An idea of what one might enter is here (on the bottom):
http://compcanlit.usherbrooke.ca/advanced.html
I was hoping to get away with replacin
David,
I'm under pressure to permit AND, OR & NOT. My research group insists
that MySQL 4 syntax is "not good enough".
An idea of what one might enter is here (on the bottom):
http://compcanlit.usherbrooke.ca/advanced.html
I was hoping to get away with replacing " AND " with "+", " NOT " w
David,
I'm under pressure to permit AND, OR & NOT. My research group insists
that MySQL 4 syntax is "not good enough".
An idea of what one might enter is here (on the bottom):
http://compcanlit.usherbrooke.ca/advanced.html
I was hoping to get away with replacing " AND " with "+", " NOT " w
Cabbar Duzayak wrote:
I have a regular expression check as:
preg_match("/$xyz/", $data, $matches);
And, as you know $xyz means "string starts with xyz". But somehow PHP
5 is interpreting this as variable xyz, and gives the notice below.
You can ignore the message, but now it matches everything
Hi,
I have a regular expression check as:
preg_match("/$xyz/", $data, $matches);
And, as you know $xyz means "string starts with xyz". But somehow PHP
5 is interpreting this as variable xyz, and gives the notice below.
You can ignore the message, but now it matches everything that has
xyz, i.e.
On 9/4/05, John Taylor-Johnston
<[EMAIL PROTECTED]> wrote:
> This is maybe what you want:
> http://www.indigostar.com/
> http://www.indigostar.com/microweb.htm
another good method is a "Live Linux CD". you can find a light weight
live linux distro and remaster it to include your live web site. so
It doesn't make sense to me that the function would work fine on a file and
not work on a directory. Moreover, why would the ftp_site chmod command
produce a working result and not the ftp_chmod? This seems strange to me.
-Matt
"Raj Shekhar" <[EMAIL PROTECTED]> wrote in message
news:[EMAI
If you are using php 5, don't forget about str_split, with 4 as the
second parameter.
http://us2.php.net/str_split
so you could do:
echo implode("", str_split($string, 4));
if you still have php 4 or earlier, look at that page anyway as there
is a workaround function in the comments for ear
"Matt Palermo" <[EMAIL PROTECTED]> writes:
> ftp_chmod($connId, 0777, $folder);
>
> The function almost works, but when I check the permission of the folder
> after it's run, the folder has 410 for permissions instead of 777. So, it
> is changing the permissions, but not to the correct value.
Quoting Robin Vickery <[EMAIL PROTECTED]>:
On 9/5/05, Rick Emery <[EMAIL PROTECTED]> wrote:
What I really want to do is replace the non-printable character(s) with
printable character(s) (maybe a question mark, or a space), but haven't
been able to find a function that will do it. Maybe someth
Łukasz 'nostra' Wojciechowski wrote:
W odpowiedzi na maila (18:09 - 5 września 2005):
Hi
Hello
I am using smarty with my php site, I know you can send a whole smarty
template page to a variable, is their any way i can easily print that
variable out. or am i going about this the
AFAIK Apache on win98 does that.
It's warning you that you are doing unsafe stuff on an unsafe "OS".
On 9/5/05, Ilja Polivanovas <[EMAIL PROTECTED]> wrote:
> By the way Zend Optimizer 2.5.7 is also installed in that PC. Does anybody
> know what does that [warn] means ?
>
> --
> Using Opera's rev
W odpowiedzi na maila (18:09 - 5 września 2005):
> Hi
Hello
> I am using smarty with my php site, I know you can send a whole smarty
> template page to a variable, is their any way i can easily print that
> variable out. or am i going about this the wrong way.
Why don't you just make another t
By the looks of things you can't.
safe_mode changability is set to PHP_INI_SYSTEM
You may be able to put a type setting into the
httpd.conf file, and have apache re-read its config file by sending it
a USR1 signal.
As it is a production server you may want to test this on a dev server first:
Steven wrote:
> I basically want to print the output of the page directly to the
> printer. I find using the Internet Explorer Print Page button, prints
> extra text on the top and bottom of the page, which i dont want, also it
> seems to effect my page formatting a little.
Presumably you want y
Hi
I am using smarty with my php site, I know you can send a whole smarty
template page to a variable, is their any way i can easily print that
variable out. or am i going about this the wrong way.
I basically want to print the output of the page directly to the
printer. I find using the I
On Sep 4, 2005, at 12:06 PM, Brian Dunning wrote:
Hi all -
I have forms on a number of unrelated web sites that just send me an
email for one purpose or another. There are 2 to 6 fields: name,
email, comment, etc. No big deal.
Recently I've been getting a lot of weird submissions. I'll rece
Hello everyone,
I have a special question and want to ask here, hope anyone can answer me.
My server is Apache/1.3.33 with PHP/4.3.10
I have AllowOverride All in my httpd.conf and safe_mode = On in php.ini , I
want to turn off safe_mode in one folder by .htaccess , is it possiable? I
don't want
John Taylor-Johnston wrote:
> Any ideas? Post kind of lost in there since Saturday. Is str_replace the
> best choice for case sensitive and for swapping " AND "?
>
>>
>>
>> Any suggestion on how to swap AND OR NOT for mysql fulltext syntax in
>> $searchenquiry?
>> A simple parse for " AND " and
If you are uploading to a Unix or Linux server, then you can use the
chmod program to make your files writable.
If you want a program for your local computer to allow you to FTP your
files across, then check out this page.
http://www.thefreecountry.com/webmaster/freeftpclients.shtml
On 9/3/05, Po
Ryan A wrote:
I want to add this same functionality to a forum on the same site (the
forum
was custom programmed
from scratch and not any of the popular ones), but since in a single
thread
there can be a lot of different
people/usernames that answer I would prefer _not_ to do a select
Any ideas? Post kind of lost in there since Saturday. Is str_replace the
best choice for case sensitive and for swapping " AND "?
Any suggestion on how to swap AND OR NOT for mysql fulltext syntax in
$searchenquiry?
A simple parse for " AND " and then str_replace? Is str_replace
appropriate
This one time, at band camp, Adi Zebic <[EMAIL PROTECTED]> wrote:
> is there any magic function who can give me from:
>
> $string = " abcdefghijklmnopqrstuwvxyz";
>
> somthing like this:
>
> abcd
> efgh
> ijkl
> mnop
> qrst
> uwvx
> yz
$newstring=chunk_split("$string", 4, '');
Kevin
--
"De
Hi Zebic
It is pretty much simple./ Look into the code
$text = "abcdefghijklmnopqrstuwvxyz";
$newtext = wordwrap($text, 4, "", 1);
echo $newtext;
// if you want all these chunks in an array use it as
$array = explode("", $newtext);
echo $array[0];
echo $array[1];
echo $array[2];
Regards
Shafiq
Hi,
is there any magic function who can give me from:
$string = " abcdefghijklmnopqrstuwvxyz";
somthing like this:
abcd
efgh
ijkl
mnop
qrst
uwvx
yz
(each 'x' letters go to the next line)
Thanks a lot,
ADI
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
Hello,
We're in the midst of creating a high volume transaction platform with
PHP and MySQL. Each transaction ties to a transaction ID that is in turn
an auto_increment, unsigned BIGINT(12).
The problem now is I do not want users to see this running transaction
ID when using the system (such
By the way Zend Optimizer 2.5.7 is also installed in that PC. Does anybody
know what does that [warn] means ?
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi sports fans!
I have a quick "references" related question.
Ok, I'm passing a Page object by reference to another object:
myClass->myFunction($objPage);
What I want to do is store that Page object as part of the myClass
object (see definition code below).
My question is this: When assigni
29 matches
Mail list logo