List Info

Thread: Hi Pals




Hi Pals
country flaguser name
United States
2007-05-21 04:45:41

Hello Pals,

Im using php 4.3.1 with mysql....

1. I have some problem with mysql and php..(error handling). I do the foreign key relationship with two tables. If i insert a data, i got an error. so. how can i handle that kind of errors??

2. And i like to use AJAX, PHP and MYSQL...which php frame work is better?? which frame has better performance???(Zend, Cake..Seagull)

3. Im doing a java type coding standed...sometimes, that performance will be low...(im creating class files ...ect...) .so, if i use the database connection for every page, the performance will increase or decrease??

please give me some solutions about these problems

thanks
Subas

G.Subaskar
Web Developer
Seagull Global IT Solutions Pvt Ltd
Sri Lanka

Mob:(+94)714245228

---------------------------------
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
restric a page
country flaguser name
United States
2007-05-21 05:33:58

Hi,
How can i restric a page.Eg If U type adddres directly on addres bar it should go to login page. i use session but if I type address that page is viewing.

HARAN
Send instant messages to your online friends http://uk.messenger.yahoo.com

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
RE: restric a page
country flaguser name
United Kingdom
2007-05-21 05:53:42

Using a session variable is correct.

The target page should check the session variable, and if it's not present,
redirect you to the login page, like this br>
<?
// target.php
session_start();
if (!isset($_SESSION['logged_in']))
header("location:http://www.mydomain.com/login.php");
?>

The login page should set the variable br>
<?
// login.php
session_start();

....do a login form....

$_SESSION['logged_in'] = true;
?>

Rob.

-----Original Message-----
From: php-objects%40yahoogroups.com">php-objectsyahoogroups.com [mailto: php-objects%40yahoogroups.com">php-objectsyahoogroups.com] On
Behalf Of tap haran
Sent: 21 May 2007 11:34
To: php-objects%40yahoogroups.com">php-objectsyahoogroups.com
Subject: [php-objects] restric a page

Hi,
How can i restric a page.Eg If U type adddres directly on addres bar it
should go to login page. i use session but if I type address that page is
viewing.

HARAN
Send instant messages to your online friends http://uk.messenger.yahoo.com

[Non-text portions of this message have been removed]

PHP Data object relational mapping generator http://www.metastorage.net/
Yahoo! Groups Links

***********************************************************************************
Any opinions expressed in email are those of the individual and not necessarily those of the company. This email and any files transmitted with it are confidential and solely for the use of the intended recipient
or entity to who they are addressed. It may contain material protected by attorney-client privilege. If you are not the intended recipient, or a person responsible for delivering to the intended recipient, be advised that you have received this email in error and that any use is strictly prohibited.

Random House Group + 44 (0) 20 7840 8400
http://www.randomhouse.co.uk
http://www.booksattransworld.co.uk
http://www.kidsatrandomhouse.co.uk
Generic email address - enquiries%40randomhouse.co.uk">enquiriesrandomhouse.co.uk

Name & Registered Office:
THE RANDOM HOUSE GROUP LIMITED
20 VAUXHALL BRIDGE ROAD
LONDON
SW1V 2SA
Random House Group Ltd is registered in the United Kingdom with company No. 00954009, VAT number 102838980
***********************************************************************************

__._,_.___
.

__,_._,___
Viewing PDF files
country flaguser name
United Kingdom
2007-05-21 07:30:32


Hi

Can some1 restrict/hide copy and save buttons in a pdf document using php?.

A code snippest will help alot.

Regards,
Justice


Head IT Section
Bank of Tanzania - Arusha Branch.
P.O. Box 3043
Arusha.
'' Get the facts, or the facts will get you. And when you get them, get them right, or they will get you wrong.'

---------------------------------
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your freeaccount today.

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
RE: Viewing PDF files
country flaguser name
United Kingdom
2007-05-21 08:03:52

There was a recent thread on html to pdf conversion, and I'm pretty sure one
of the classes I looked at allowed you to customise the menu bar.

Have a hunt round http://www.fpdf.org/ to see if you can find anything.

Rob.

-----Original Message-----
From: php-objects%40yahoogroups.com">php-objectsyahoogroups.com [mailto: php-objects%40yahoogroups.com">php-objectsyahoogroups.com] On
Behalf Of Justice
Sent: 21 May 2007 13:31
To: php-objects%40yahoogroups.com">php-objectsyahoogroups.com
Subject: [php-objects] Viewing PDF files

Hi

Can some1 restrict/hide copy and save buttons in a pdf document using
php?.

A code snippest will help alot.

Regards,
Justice


***********************************************************************************
Any opinions expressed in email are those of the individual and not necessarily those of the company. This email and any files transmitted with it are confidential and solely for the use of the intended recipient
or entity to who they are addressed. It may contain material protected by attorney-client privilege. If you are not the intended recipient, or a person responsible for delivering to the intended recipient, be advised that you have received this email in error and that any use is strictly prohibited.

Random House Group + 44 (0) 20 7840 8400
http://www.randomhouse.co.uk
http://www.booksattransworld.co.uk
http://www.kidsatrandomhouse.co.uk
Generic email address - enquiries%40randomhouse.co.uk">enquiriesrandomhouse.co.uk

Name & Registered Office:
THE RANDOM HOUSE GROUP LIMITED
20 VAUXHALL BRIDGE ROAD
LONDON
SW1V 2SA
Random House Group Ltd is registered in the United Kingdom with company No. 00954009, VAT number 102838980
***********************************************************************************

__._,_.___
.

__,_._,___
Re: restric a page
country flaguser name
United States
2007-05-24 02:11:21

Hi,

Access User class script might help you, available in

http://www.finalwebsites.com/snippets.php?id=10

Cheers
U

On 21/05/07, tap haran < tapharan%40yahoo.com">tapharanyahoo.com> wrote:
&gt;
> Hi,
> How can i restric a page.Eg If U type adddres directly on addres bar it
> should go to login page. i use session but if I type address that page is
> viewing.
>
>; HARAN
&gt; Send instant messages to your online friends http://uk.messenger.yahoo.com
>
&gt; [Non-text portions of this message have been removed]
>
>;
>

--
Usman A A

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )