8,966 Posted Topics

Member Avatar for webprefection
Member Avatar for renierdbruyn

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.

Member Avatar for pritaeas
0
447
Member Avatar for Priti_P
Member Avatar for pritaeas
0
240
Member Avatar for Subomi

You can do this by making AJAX calls to the server, get content, and insert it into a specific part of the page.

Member Avatar for paulkd
0
98
Member Avatar for frefre.ewfewf
Member Avatar for aVar++

You can port forward port 80 on your router to your computer's IP, so it will be accessible from the outside.

Member Avatar for broj1
0
279
Member Avatar for william.andrews.31924
Member Avatar for james.lu.75491856

The only useful one-liner I know is in Pascal/Delphi: asm int 3; end;

Member Avatar for vegaseat
0
171
Member Avatar for Subomi

I'm not sure what you're after. What are you trying to get from that website?

Member Avatar for pritaeas
0
165
Member Avatar for PinoyDev
Member Avatar for london-G

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.

Member Avatar for pritaeas
0
85
Member Avatar for shaqib

CSV: http://php.net/manual/en/function.str-getcsv.php XML: http://php.net/manual/en/simplexml.examples-basic.php

Member Avatar for pritaeas
0
74
Member Avatar for best4earn

Line 16 above does just that. But that won't work if you are using multiple tables.

Member Avatar for pritaeas
0
131
Member Avatar for websponge
Member Avatar for saadi06

Try: SELECT GROUP_CONCAT(value) FROM table WHERE id = 1 AND history_nr IN (63, 803) GROUP BY id

Member Avatar for pritaeas
0
112
Member Avatar for dom246
Member Avatar for minitauros
Member Avatar for best4earn

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?

Member Avatar for jkon
0
297
Member Avatar for Bijay_1

I'm guessing that there was no `id` passed in the URL, causing the `get` method to throw this notice.

Member Avatar for cereal
0
214
Member Avatar for kristenhanna
Member Avatar for DyO1
Member Avatar for DyO1
0
168
Member Avatar for davy_yg
Member Avatar for veedeoo
0
165
Member Avatar for zachattack05
Member Avatar for best4earn

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.

Member Avatar for kevinyu
0
331
Member Avatar for my3h

Perhaps this [code snippet](http://www.daniweb.com/web-development/php/code/437655/getting-products-details-from-categories-subcategories-with-ajax-call-) may help.

Member Avatar for iamthwee
0
733
Member Avatar for Scott M.
Member Avatar for Momerath

Yes. Dani is in the process of updating/debugging the new layout. Some more switching may occur.

Member Avatar for ddanbe
0
105
Member Avatar for Malymieczek
Member Avatar for Malymieczek
0
210
Member Avatar for renierdbruyn
Member Avatar for ManzarOx
Member Avatar for Scott M.
0
224
Member Avatar for klemme

> 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 …

Member Avatar for pritaeas
0
540
Member Avatar for ehpratah
Member Avatar for Learningvinit

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.

Member Avatar for pritaeas
0
90
Member Avatar for Robonte

`resultwerknemers` will be `true` even if no records are returned. Are you sure you tested with a parameter that actually exists in the table?

Member Avatar for bradly.spicer
0
353
Member Avatar for Olagsfark

> 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).

Member Avatar for pritaeas
0
174
Member Avatar for best4earn
Member Avatar for Namrata Patel

We'll need more information than this. Perhaps some code, or a link to see the problem.

Member Avatar for pritaeas
0
67
Member Avatar for L-D

Those errors mean that the query failed. My guess is the connect script is using the wrong database credentials.

Member Avatar for pritaeas
0
181
Member Avatar for renato.francia
Member Avatar for renato_francia
Member Avatar for almostbob
0
280
Member Avatar for webecedarian

http://www.daniweb.com/community-center/geeks-lounge/threads/460819/silent-circle-shuts-down-encrypted-email-service-over-fears-of-nsa-spying

Member Avatar for pritaeas
0
79
Member Avatar for Iamateur

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.

Member Avatar for JorgeM
0
247
Member Avatar for best4earn

> 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.

Member Avatar for pritaeas
0
315
Member Avatar for Clanstrom

> 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 …

Member Avatar for pritaeas
0
250
Member Avatar for keaikitse

Welcome to DaniWeb. Read the [following](http://www.daniweb.com/software-development/java/threads/99132/starting-java-java-tutorials-resources-faq).

Member Avatar for pritaeas
0
34
Member Avatar for piyush_jain2011

Hosted server or local machine? In case of the latter, do you have a mail server installed?

Member Avatar for best4earn
0
117
Member Avatar for edwin.joseph.7543

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.

Member Avatar for edwin.joseph.7543
0
400
Member Avatar for lloydsbackyard

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).

Member Avatar for lloydsbackyard
0
179
Member Avatar for kaneo

> 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 …

Member Avatar for kaneo
0
356
Member Avatar for Swati_2

*"Do not ask anyone (member or moderator) for help by email or private message"* http://www.daniweb.com/community/rules

Member Avatar for broj1
0
586

The End.