8,966 Posted Topics
Re: Simplest: remove `ob_start` and `ob_flush`. The first one is preventing you from setting the headers. | |
Re: > I still can't install it. What's the problem? | |
![]() | Re: JetBrains' PhpStorm. Got into it because it's from the same guys as ReSharper. Works like a charm, and out of the box debugging. Using Navicat Premium for all my DB stuff. ![]() |
Re: Are you sure it's not just the browser caching the original page? ![]() | |
Re: After setting the label call `Application.DoEvents`. Your process does not take the time to update the GUI when it's running. Calling this function handles some events, so you will see the changes. Note that this of course slows down your processing. | |
Re: > I Were Thinking to Ping Every Pc On Timer Event Possible. Just add a check when the operation times out. That will occur if the PC is not available. | |
Re: http://www.askvg.com/update-how-to-get-wmp-12-taskbar-toolbar-taskband-back-in-windows-7/ | |
Re: Change line 9: $r = mysql_query($q) or die(mysql_error()); If you get an error, show it here. | |
Re: There are tools for that, for example: http://www.xml-sitemaps.com/ | |
Re: If it's a datetime column, you can format it with the `date` function. | |
Re: Do you get this when you run the stored proc in phpMyAdmin (or another client), or when you run it from PHP? Based on [this thread on SO](http://stackoverflow.com/questions/1200193/cant-return-a-result-set-in-the-given-context). | |
Re: http://www.daniweb.com/software-development/xml-xslt-and-xpath/threads/455023/general | |
Re: I came across this, but I haven't used/tested this before: [title] { color: #ff0; } [title=something] { color: #0ff; } | |
Re: [Docs](http://dev.mysql.com/doc/refman/5.7/en/case.html). CASE needs a value to inspect: CASE (SELECT COUNT(id) FROM users) WHEN 0 THEN BEGIN END; ELSE BEGIN END; END CASE; Never tried this with inserts though. Is there a reason you are using CASE over [IF](http://dev.mysql.com/doc/refman/5.7/en/if.html)? | |
Re: You can by creating the stored procedure with two params and use `CALL yourprocedure(param1, param2)`. Apart from that I advise to use MySQLi or PDO using bound parameters. If you insert table names like that be sure to do strict validations before using them. Using backticks around your table and … | |
Re: No need to loop them all: $nm = 'xia'; $names = file('hi.txt', FILE_IGNORE_NEW_LINES); if (in_array($nm, $names)) { // user exists } else { // not found } ![]() | |
Re: [Here](http://techoctave.com/c7/posts/60-simple-long-polling-example-with-javascript-and-jquery)'s a nice introduction to long-polling. | |
Re: You could try [ini_set](http://php.net/ini_set) to override the error handling (but that could be disabled too). | |
Re: Line 11: $image = file_get_contents($file['image']); Line 16: $path = 'images/' . $file['image']; | |
Re: > I wasn't aware that you could change the quality of a gif. It's the quality of the resize process, not of the GIF. | |
Re: What exactly is the problem? Why is line 77 commented? | |
Re: If the two sites are on different servers, then the user `profiled_Moodle` may not have privilige to be used (as code_rum suggested). That user probably has access only to `localhost` to avoid tampering, meaning you cannot use that one from outside the server. You should create a new user which … | |
![]() | Re: Start with HTML and CSS, as you need that anyway to build the front-end. ![]() |
Re: IIRC the Business Exchange forums have been excluded from the feeds. | |
Re: Do you get errors? Check with this: mysql_query (" INSERT INTO users (id, name, password, type, account, create, ip, login, logout) VALUES ('', '$name', '$password', '$type', '$account', '$create', '$ip', '$login', '$logout') ") or die (mysql_error()); | |
| |
Re: Like it says, the object is null. Most likely you need to add a null check before checking the object's property. | |
Re: The developer tools of IE (F12). | |
Re: For sourcecode documentation, [PhpDoc](http://www.phpdoc.org/) is useful. User documentation is often written with help tools, if you want more than just a document (e.g. [Help and Manual](http://www.helpandmanual.com)). ![]() | |
Re: Hard to tell what you want bolded. Am not digging through your CSS. One possible reason maybe [validation errors](http://validator.w3.org/check?uri=http%3A%2F%2Fwww.hctubs.com%2Findex2.php&charset=%28detect+automatically%29&doctype=Inline&group=0). Why do you have so many nested tables? ![]() | |
Re: Please read the other threads on the topic. ![]() | |
Re: You want to search for other blogs? | |
Re: > Is it common practice ot look at a cheat sheet or refer to a site when needing a method or looking for a property Yes, definitely. I can't remember everything for all languages. | |
Re: Have a look at CSS media queries. | |
Re: Read this [MSDN article](http://msdn.microsoft.com/en-us/library/aa933058(v=sql.80).aspx). | |
Re: The first link returns a 500 server error, I can't open the second because it's taking too long. | |
Re: Fix line 10: echo "This is a PHP line"; | |
Re: Your PHP scripts should be in the wamp/www folder. For writing the scripts use a text editor or a decent IDE. |
The End.