I've got a bit lost on this, but assuming that we are talking about an
intranet enviornment, with windows/IE6 clients, and apache servers, then
personally:
I would check logins based on a valid session. If the user doesn't have a
session they aren't logged in. Store the username in the session var
Mark Steudel wrote:
> Im a little confused on the number I should use for the month:
>
> Take the following:
>
> echo date('Ymd', mktime(0, 0, 0, 3, 0, date("Y")) );
>
> I expected it to output: 20060331
>
> But instead it outputs 20060228.
Correct.
You are asking it for the zeroth day of
Im a little confused on the number I should use for the month:
Take the following:
echo date('Ymd', mktime(0, 0, 0, 3, 0, date("Y")) );
I expected it to output: 20060331
But instead it outputs 20060228.
In the examples for january in the php manual I get december instead of
january.
Is
Adrian Bruce wrote:
Hi
After some advice (surprise!)
I currently store restricted documents beneath the web root so they are
not accessible via the URL, when a valid user wishes to view a document
i copy it to a temporary folder above the root and load it in a new
page. the only way i can
I tried to get the eBay API working with nusoap for quite a while, but
eventually gave up and wrote my own code from scratch.
There is a pear project that deals with eBay if you're more interested
in using a prefab solution than coding your own from scratch.
paul
On 3/8/06, jon <[EMAIL PROTECTE
Quoting Jochem Maas <[EMAIL PROTECTED]>:
Rick Emery wrote:
Okay, I'm following all of this. So I could take, say, the username
reversed and encode it, then decode it in the PHP application,
and be
I wouldn't do it like that
instead stick the username in the cookie in plaintext and
Thank you for replying patiently.
No hard feelings but imagination is better than preinformation. Einstein
--
View this message in context:
http://www.nabble.com/Editing-an-existing-pdf--t1202479.html#a3343684
Sent from the PHP - General forum at Nabble.com.
--
PHP General Mailing List (http:/
Under what circumstances does PDOStatement::execute() return false?
It seems to always return true.
Thanks,
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The message "Xuvpcx" from MAILER-DAEMON, sent on 3/10/2006 09:42 was
quarantined because it contained either an executable file, a batch file or a
screen saver file. All of these types of attachments are considered security
risks. Please consult your mail administrator who can release the messag
>
> Thankyou for the quick reply Sam.
> Infact I took this option at first but I didnot proceed because creating a
> pdf form is new to me.
> And also I donot have the tool. what do you advise me.
I would like to hang out on a yacht off the coast of Saint Tropez where
Paris Hilton and her friends
Adrian,
I use something like this:
http://groups.yahoo.com/group/php_and_mysql/
On 3/10/06, Adrian Bruce <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> After some advice (surprise!)
>
> I currently store restricted documents beneath the web root so they are
> not accessible via the URL, when a valid user
Rick Emery wrote:
Quoting [EMAIL PROTECTED]:
You could just store a username, since they have already authenticated,
but a cookie with just a username would be easy to duplicate. My current
thought is to hash a checksum of some sort and storing that in the
cookie as well. That way you avoid the
Quoting [EMAIL PROTECTED]:
You could just store a username, since they have already authenticated,
but a cookie with just a username would be easy to duplicate. My current
thought is to hash a checksum of some sort and storing that in the
cookie as well. That way you avoid the username only prob
tedd wrote:
Pat:
I would suggest changing to:
http://.../chkout.php?imagename=NATURE-1.jpg&count=6&continue=Continue+Checkout,
$newqty = $_GET['count'];
$imagename = $_GET['imagename'];
Also, to see what you are actually "getting" try:
echo ("");
echo ("");
echo ("GET info:\n");
print_r($
[snip]
First, let me apologize for having to take it to a basic level. I'll
admit that I'm fairly new to web development, but this is something I
could *really* use at work and I want to make sure I understand (just
to set the stage, we use Windows/Active Directory/MS SQL Server at
work, bu
Thankyou for the quick reply Sam.
Infact I took this option at first but I didnot proceed because creating a
pdf form is new to me.
And also I donot have the tool. what do you advise me.
--
View this message in context:
http://www.nabble.com/Editing-an-existing-pdf--t1202479.html#a3339621
Sent fr
Quoting [EMAIL PROTECTED]:
[snip]
Couldn't I write my own cookie to fool the authentication into
thinking I'm somebody else?
[/snip]
I suppose that you could do that if you were savvy enough to realize
that automatic login to the intranet used a cookie for authentication
and you knew how to for
[snip]
> We are sitting here having a discussion on login techniques and I cam
up
> with a thought...why not have a login script write a cookie that then
> coulod be read by PHP and compared against the AD via LDAP? Does
anyone
> see any gotcha's with that kind of process?
Couldn't I write my own
Quoting [EMAIL PROTECTED]:
[snip]
As far as I can tell you will have to ask the user to login at the web
application level again, but you can verify it against your AD via LDAP
with the basic stuff from http://www.php.net/ldap
[/snip]
We are sitting here having a discussion on login techniques
>
> I wanted to add texts from an html form to existing pdf.
> I was able to create a pdf but not to edit it.
>
> Please give me guidance how to.
FDF is what you're after if I understand this brief post.
Google FDF PDF PHP. PHP writes the FDF file which fills out a linked PDF
form. Notice I sai
Hi
I found an example for this on WeberDev and got it to work pretty good.
However, when I started to check, I now have a different issue.
Till now, I just highlighted all of the text. Now I take the php code
Out, highlight only the php code and put it back in.
The problem is that I'm looking fo
Hi there,
Quick question on performance:
I have got some expensive sql queries (doing lots of LEFT JOINS) that result
in anything between 10 to 1 results. I need to do paging on those. So
far I have used a LIMIT solution which will not do anymore because you don't
get the whole total.
Now,
On 10/03/06, Weber Sites LTD <[EMAIL PROTECTED]> wrote:
> Hi
>
> I'm trying to go with your idea but I'm having difficulties with
> preg_match_all.
> I want the text between . The use of preg_match_all bellow only
> Returns text that is in a single line. If the
> is
> A few lines bellow, it does n
On 3/10/06, Weber Sites LTD <[EMAIL PROTECTED]> wrote:
> Hi
>
> I'm trying to go with your idea but I'm having difficulties with
> preg_match_all.
> I want the text between . The use of preg_match_all bellow only
> Returns text that is in a single line. If the
> is
> A few lines bellow, it does no
Hi Adrian,
I had the same dilemma on a project I was working on, and came across this:
http://www.vibralogix.com/linklokurl/index.php
It basically adds an authentication code, which can lock the download to an
IP address and also you can limit the life of the URL to a length of time.
You can als
I wanted to add texts from an html form to existing pdf.
I was able to create a pdf but not to edit it.
Please give me guidance how to.
--
View this message in context:
http://www.nabble.com/Editing-an-existing-pdf--t1202479.html#a3337105
Sent from the PHP - General forum at Nabble.com.
--
P
Hi
After some advice (surprise!)
I currently store restricted documents beneath the web root so they are
not accessible via the URL, when a valid user wishes to view a document
i copy it to a temporary folder above the root and load it in a new
page. the only way i can then manage to delete
Chris wrote:
You'll need to:
$dbtoy = new DBToyExt();
$dbtoy->connect()
$dbtoy->testext('testing');
But you cannot do:
$dbtoy = new DBToyExt();
$dbtoy->connect()
$dbtoy->testext('testing');
$result = $dbtoy->query('SELECT...');
//[...]
You have to do something like this:
$dbtoy =
[EMAIL PROTECTED] wrote:
Ahhh! I'd kept thinking what connect() returned was a db object, but it does
look like
it returns varying objects depending on which database you're using.
correct
Maybe I'd want to extend DB_common instead of DB_mysql, so that the methods
would
be inhereted by an
Hi
I'm trying to go with your idea but I'm having difficulties with
preg_match_all.
I want the text between . The use of preg_match_all bellow only
Returns text that is in a single line. If the
is
A few lines bellow, it does not match.
preg_match_all('/<\?php(.*?)\?>/i',$text,$CodeArray,PREG_PAT
30 matches
Mail list logo