I want to only let "right" people watch those videos. In other words, only registered users that are allowed (by other users, ie, friends) should see videos. I have a hard retriction for cpu usage in my shared environment, so I can use things like php's readfile.
Ok so, Im using jQuery to do username and email checks before a signup...
this sets a variable true or false depending on the response from php.
$(document).ready(function() {
if (usr_checked == true) {
if (em_checked == true) {
$("#registerbttn").removeAttr("disabled");
}
}
else {
$("#registerbttn").attr("disabled", "disabled");
}
});
How exactly do i get it to watch those variables live?
Thanks :D
hi,
i am using php,mysql,jquery.
When a user clicks on save i go to back end and save data and show the response. once show the success i need to disable the save button for say 1 min. how do i do it.?
I have a table of customers with a 1 recorded against their customerid on different dates.
I would like to find the sum of the 1's recorded in descending order. I'm using MySQL and php
Thanks
Hi,
i've coded a tiny forum software in php where people posts threads, and i want to support tags.
How many SQL tables should i make for this ? and briefly how the tags system will work?
Thanks
I haven't found any MYSQL many-to-many relationships examples here and in google. What I am looking is to see a very simple example with php+mysql showing database's results. Can anybody write a very simple example?
I develop applications using PHP and MySQL. They're not trivial, though they're not too complex. As an example to that I have written an online application to enable football administrators manage the player, competition and judiciary processes.
Separately to that I have used Joomla to create websites for small businesses.
I'd like to be able to use Joomla as my online application development environment. Is there a way I can use Joomla for that?
We need to create a script (ajax or php or javascript) that will clean some tables from our database at fixed time.
We can not use server features such like Cron tab or others.
Any suggestions??? Thanks
In PHP, While using a switch case loop, can i use the for loop for iterating the cases?
for example
switch .....
foreach($xyz as $abc)
{
CASE:$abc
}
default;
Is this possible?
I am running php5, however as soon as I call session_start() the script
hangs and nothing happens. Is anyone else experiencing this problem, or
am I doing something incorrectly?
I am using session_start() on index.php and for some reason sometimes
it'll fail. No warnings, no errors, no notices, not even after
prepending error_reporting(E_ALL) and ini_set('display_errors', TRUE)
before session_start() do I see anything, it just plain dies.
1st number: 50
2. 30
3. 70
4. 40
5. 11
and other number is 33
I need to calculate which two numbers the last number is between (using php) .. any help?
I'm looking for some resources that demonstrate good graphic design for generated (PHP/HTML/CSS) reports.
The website I'm designing is essentially a long test. Everything is finished except the report generation, and this part needs to look good!
I'd appreciate any advice/resources you can point me to! I know this isn't directly programming related, but my purposes do encompass coding and output.
Hi,
I have a J2ME application - which generates XML data (from an object) and needs to get it sent across to a remote server/machine. How do I get this xml or the object through to the remote server please? Thanks. Just in case it might help, the receiving application on the remote server is PHP powered. Thanks again.
I tried doing tutorials but it is unorganized and unstructured, where can I learn PHP from beginner to master? I'm looking for a site like www.w3chools.com, but somehow I feel it is incomplete, specially when it comes to more advanced functions.
I know some basics but I wouldn't be able to for example make a secure online webstore, and I seem to be stuck at this point, how / where should I proceed?
Are there any good (preferably PHP) open source scripts that I use to measure download/upload speeds? Something like speedtest.net but without Flash.
Basically, I want to put up a 'broadband speed test' website. I found this but is there anything better already available?
Thanks!
please see the following code
// redirect to success page
if ($success){
header( 'Location: ../Scripts/_lib/phpmailer-fe.php');
}
else{
print "<meta http-equiv="refresh" content="0;URL=error.html">";
}
its not working
Hi from time to time , i want to shutdown my site for maintenance ...
How could i do this? I've seen a option in phpbb to block the site by admin and then unblock them..
Is there any apis for this or tell me a method of how to do this?
I'm using php for my website..
I need to have a script execute (bash or perl or php, any will do) another command and then exit, while the other command still runs and exits on it's own. I could schedule via at command, but was curious if there was a easier way.
I'm a newbie in PHP. A friend of mine want me to help him set up a Project Management intranet with dotProject. The first request I receive from my friend is add a new tab on Projects page. Does anyone can give me clue on how to do it, since lack of documentation on dotProject website.
Is there a way to add files to a zip file from another server with php's zip extension? ie. addFile(array('localfile.txt,'http://www.domain.com/remotefile.txt')) (that obviously does not work)
I suppose I can download the files to a temporal folder and then add them to the zip file, but I was looking for a more automated solution or a function already made
As far as Google searches tell me, the maximum allowed number of cookies depends very much on the browser, however I cannot find any recent data as to how much cookies are allowed on modern browsers.
I need to store a somewhat large number of user preferences in cookies (for not-yet-registered users), so what would be the best way of doing that? (Also, those cookies would be accessed both via javascript client-side and php server-side)
I was wondering if its possible to have some kind of SQL error reporting that sends me an email that includes the error and the website that it's been found on.
I'd like to take this precaution because of hosting multiple drupal systems.
There is a PHP error variant:
http://drupal.org/project/php_errors
Hope you guys know a way to become aware of any possible SQL errors by not loggin in to check the error report.