I also noticed that you referenced AJAX.....
if you are trying to execute Javascript through ajax you are taking the totally wrong approach. You need to have php echo the results which the AJAX function then parses and runs a function using the contents of the returned page
User Profile
Collapse
-
Code:$myTempArray[$count] .= "{SHOWS:\"".htmlentities($shows_new2)."\",GENDER:\"".htmlentities($gender_new2)."\",AGE:\"".htmlentities($age_new2)."\",FIRST_NAME:\"".htmlentities($user_first_name_new2)."\",LAST_NAME:\"".htmlentities($user_last_name_new2)."\",EMAIL_ADDRESS:\"".htmlentities($emailaddress_new2)."\",PHONE_NUMBER:\"".htmlentities($phone_number_new2)."\",CITY:\"".htmlentities($city_new2)."\",STATE:\"".htmlentities($state_new2)."\",ZIP:\"".htmlentities($zip_new2)."\",PICTURE:\"".htmlentities($picture_new2)."\"}";
Leave a comment:
-
If you want an way to decrypt passwords, then you need to encrypt all passwords with your own defined encryption method, which you reverse the process of in order to determine the original password
However that is highly unadvised and unnecessary.
It is unadvised because then anyone who manages to steal the encryption method can then decrypt any and all passwords.
It is unnecessary because say you have...Leave a comment:
-
This question does belong in the postgres forum, but maybe this will help you get your answer.
Postgres Users have a defualt schema that they query, and by default (I believe) the default schema would be of the same name as the user. therefore if you were to copy the schema replacing the default schema name with the user name, then that user should always query that schema. If the table is not in their schema, then it checks the public...Leave a comment:
-
run this in an include on every page
[PHP]session_name("s iteName");
session_start() ;
ob_start();[/PHP]
replacing "siteName" with whatever identifier you want for those sessionsLeave a comment:
-
here is a trick, before sending them to the home page after logout, send them to a redirect.php page which has only
[PHP]<?php
header("locatio n: /index.php");
?>[/PHP]
That way, when they click the back button, its the redirect page which takes them back to the home page this will help resolve the issue of the cached pages, though they can still use the back drop down to go to whatever page they...Leave a comment:
-
Must say I don't clearly understand your situation
Do you control the other site?
Are you reffering to the customer filling out your form, submitting, then leaving your site to go to a site you do not control, then comming back and having the info?
If the second scenario is closer to your situation, I would store all the post variables into session vars, then on any page you want you can check if they are set,...Leave a comment:
-
Usually simply requesting the email of the user, or the login even, and then emailing them the password is sufficient security. The user should get the email, if their email address has been changed without their knowledge, their account has already been hacked.
If you don't store their email address... well you should. It can be an invaluable resource at times, and is easily the simplest way to give people forgotten passwords
...Leave a comment:
-
Configuration likely....
I would set up and configure a database with all the configurations users etc set up, then when you need a new one, export, rename (with php even) and import guranteeing that all your settings will be there each and every time.
I am currently setting up a system with postgres where I have a template schema that php will export, parse the exportfile replacing all "schemaTemplate " with the user...Leave a comment:
No activity results to display
Show More
Leave a comment: