I have a PHP application that for every request loads 1 ini file, and at least 10 PHP files. As these same files are loaded for every single request I thought about mounting them on a ram disk but I have been told that the linux filing system (ext3)
on one domain i use command as:: setcookie( "cookiename", "cookievalue", time()+86400, "/", "domain1.com" ); on other domain i used a pixel code as <img src="http://domain1.com/?action=trackcookie" widt
I want to submit a form to another page to process the data from said form. Then the person can go on to another part of the site or another site altogether. However If the person later clicks the <back button> enough times they will arrive back at
In the below snippet of php code how does the php know which #main to read ? Note at the top of the code I have added the css file from my zenphoto which contains a DIV main. However, for some reason when I go to my site it is apparent that the code
I have two tables data. After querying it I have two results. I should insert into one list box where data from table A i should color it in font black and another in red and disable it(from table B).
I have a table describing several sets of connected nodes: node origin_node REFERENCES node start_time end_time and I want to find out how many clusters the dataset contains, e.g. if the records were: A, B, 10:00, 11:00 B, C, 9:00, 9:15 D, E, 10:00,
I can see how we can remove specific variables within an array: <?php // Provides: Hll Wrld f PHP $vowels = array("a", "e", "i", "o", "u", "A", "E", "I", "O", &qu
I've got a script. sort of a pop quiz working nicely.. the problem is that it's very easy to, as it is, con by refreshing the page.. thus getting more points. What I'd like to do is empty the $_POST (or $HTTP_POST_VARS) variable so that when refreshi
I have an update form that displays all current selections to the user. Displaying text in edit boxes is easy but how do you show a previous selection in a select object ? Here is some code ... <select name = "allow"> <option value=&
My web application requires users to upload data in the form of comma-seperated values i.e. 11,3, 8,12,5 ,1,9, 13,5,7 I want to check that the user is only uploading numbers and commas What is the best way to check this? Regular expressions?
Anyone able to point me in the direction of a no database php search tutorial or throw up an example. Basically, I need to search for non HTML elements pages within a directory.
i am developing a site and everything on the site is static meaning no database. now, they wanted to add a search tool bar thats is only meant to search by keywords my problem is i dont know how to do it because i have done it before.
I have an android app that scans and item then goes to my webpage and searches a database for that item. However, I don't know how to search my database through my url. Something like, [URL]. How would I set up my url to search the database?
I have users table. with usernames and info on those users. The info that i have setup for this portion is userid_2 What i have planned for this is to call up that userid_2 from everyuser in a sequence. like this: user1: userid_2 = 1 user2: userid_2
i am working on a project, where when a user registers, he would be provided with a link which he can give to anyone and ask them to register. once this new user, uses that link to register, he will be automatically assigned certain points, that was
I have a table with more than 50 columns. I named the column with order, for example, sub1, sub2, ....sub54. When extracting data from table, to save time, I wanted to use a while loop as following: Code:
i used advance datagrid of dataProvider as HierarchicalData . it's an my array collection strature [Code].... It shows only country details but if i tried matches and isEnable not found in array . How can i found is isEnable and matches details ?
I'm making a script that will email my users upon registration. For the email body, I want to use file_get_contents to shorten the mail function line. If I use a txt file such as reg_email.txt, will variables such as $username still work? I'm deve
The assignments here [eg. $first=mysql_result($result,$i,"first");] are influenced and other php files using the variables[eg. $first] ? eg. $first=mysql_result $result,$i,"first"); If not how to use the variables[eg. $first] in anothe
« Prev 1
... 5 6 7 8 9 10 Next »