8,966 Posted Topics
Re: http://php.net/manual/en/function.preg-match.php preg_match('%\bBachelor's degree\b%i', $subject); Provide some sample data so we can be more accurate. | |
Re: You can do this by making AJAX calls to the server, get content, and insert it into a specific part of the page. | |
| |
Re: You can port forward port 80 on your router to your computer's IP, so it will be accessible from the outside. | |
Re: The only useful one-liner I know is in Pascal/Delphi: asm int 3; end; | |
Re: I'm not sure what you're after. What are you trying to get from that website? | |
Re: Both, please focus on the issue. | |
Re: If you do not own access to the website's control panel, then yes, the password can be changed. I think this is not a matter of access but of trust. Make sure you have a decent contract. | |
Re: CSV: http://php.net/manual/en/function.str-getcsv.php XML: http://php.net/manual/en/simplexml.examples-basic.php | |
Re: Line 16 above does just that. But that won't work if you are using multiple tables. | |
Re: The echo's should be inside the loop... | |
Re: Try: SELECT GROUP_CONCAT(value) FROM table WHERE id = 1 AND history_nr IN (63, 803) GROUP BY id | |
Re: I don't see the issue. Browser specific perhaps? | |
Re: There is no single "best". All the framework sites have introductions and some tutorials. What are you planning to build and how knowledgable are you? | |
Re: I'm guessing that there was no `id` passed in the URL, causing the `get` method to throw this notice. | |
![]() | Re: Is `command` a textbox? Then try: Shell(command.Text) Without the double quotes. ![]() |
Re: It will be renamed according to it's function. | |
Re: In your table you can define which category a user belongs to. Use that category to check whether someone is (not) allowed to do something. | |
Re: Perhaps this [code snippet](http://www.daniweb.com/web-development/php/code/437655/getting-products-details-from-categories-subcategories-with-ajax-call-) may help. ![]() | |
Re: Yes. Dani is in the process of updating/debugging the new layout. Some more switching may occur. | |
Re: If you call your PHP script manually, does it work (inserts into the database)? | |
Re: What broj1 suggested is keeping score (but in reverse). | |
Re: If you have a company, then you could move the domain to that. AFAIK there's only one administrative contact. | |
Re: > Can I somehow just create a link on the site, and then get the pdf from the different server to appear, by using fgets? Basically yes, assuming fgets is allowed to open it. You can always try other methods, like cUrl. Be sure to serve the correct header for … | |
Re: I think if the column type is a fixed char size, then the same will happen as is SQL Server: trailing blanks are added on insertion. The best way would be to TRIM when you select the data, or perhaps use a VARCHAR column type instead. | |
Re: `resultwerknemers` will be `true` even if no records are returned. Are you sure you tested with a parameter that actually exists in the table? | |
Re: > does the script atleast combat brute attacks It delays them, but only if it's not possible to directly post to the login script (bypassing the form). | |
Re: We'll need more information than this. Perhaps some code, or a link to see the problem. | |
Re: Those errors mean that the query failed. My guess is the connect script is using the wrong database credentials. | |
Re: Server-side script builds the page to be sent to the client. Client-side script runs in the browser. | |
Re: http://www.daniweb.com/community-center/geeks-lounge/threads/460819/silent-circle-shuts-down-encrypted-email-service-over-fears-of-nsa-spying | |
Re: Do you have a local server installed for PHP, because if you run from VS it uses the built-in webserver. Second is you can't use both ASP.NET and PHP in the same script. It's one or the other. | |
Re: > UPDATE name SET parentID=[value-1],id=[value-2] WHERE 1 If that is your query, then the brackets are causing the problem. I don't see this in the above code though. | |
Re: > what could unexpectedly go wrong in this class When testing `checkAlreadyLoggedIn` do not test only with a session that would return `true` and one that would return `false`. Consider the fact that the session you pass as a parameter is invalid: NULL for example, but other situations may also … | |
Re: Welcome to DaniWeb. Read the [following](http://www.daniweb.com/software-development/java/threads/99132/starting-java-java-tutorials-resources-faq). | |
Re: Hosted server or local machine? In case of the latter, do you have a mail server installed? | |
Re: The problem is that `$act` on line 72 (`switch`) has not been given a value. I assume it's being passed through the `$_GET` or `$_POST` array. | |
Re: 1/2 You'll need to trap the browser event with Javascript (onbeforeunload). 3. Is a browser setting. 4. See [substr](http://php.net/substr). | |
Re: > I'm having hard time trying to insert data Do you get an error? What is happening? The following is wrong, as you are mixing PDO and MySQL here. PDO raises exceptions on errors. $query = $pdo->prepare("INSERT INTO accounts(acc_number, cust_name, cust_tel, cust_address, cust_opendate, cust_openamount, cust_balance, cust_message, cust_openby) VALUE(?,?,?,?,?,?,?,?,?)" ) or … | |
Re: *"Do not ask anyone (member or moderator) for help by email or private message"* http://www.daniweb.com/community/rules |
The End.