8,968 Posted Topics

Member Avatar for dartiss

Looks like you forgot to add the delimiter. Your preg should look something like this (note the percent sign): preg_match('%\s(https?://www.youtube(?:-nocookie)?.com/(?:v|embed)/([a-zA-Z0-9-]+))%i', $subject);

Member Avatar for dartiss
0
200
Member Avatar for davy_yg

`(` and `)` are special characters, you need to escape them with a backslash.

Member Avatar for pritaeas
0
199
Member Avatar for PF2G

http://www.foliotek.com/devblog/make-table-rows-sortable-using-jquery-ui-sortable/ Any specific reason you are not using the latest jquery?

Member Avatar for pritaeas
0
305
Member Avatar for riahc3

> I tried using the basic quote tags and they don't work and are displayed literal.... Try the new [formatting help](http://www.daniweb.com/community/syntax) link

Member Avatar for Airshow
0
303
Member Avatar for atasoulas
Member Avatar for athulram
Member Avatar for pritaeas
0
91
Member Avatar for extjac

Are you opening files outside of the webroot, because that may not have been enabled ? There are some possible solutions online, that require changes in the httpd.conf. What did their support say?

Member Avatar for pritaeas
0
118
Member Avatar for phorce

> Would this work? Or would it better to have an interface for each of the Numeric, Lexical? Yes, that would work. Although, if you are just implementing the interface for the base class, what's the point? You can just define public methods in the base class, which can then …

Member Avatar for phorce
0
103
Member Avatar for dualzNZ

Perhaps this [thread on SO](http://stackoverflow.com/questions/5941631/compile-save-export-html-as-a-png-image-using-jquery) may help.

Member Avatar for pritaeas
0
119
Member Avatar for cali_dotcom

> better to convert all to mysql Convert a third-party existing .net application to mysql...?? Hardly possible. > you can not use limit in mssql It's called `TOP`. For paging there are other solutions too.

Member Avatar for pritaeas
0
190
Member Avatar for pritaeas

The article [here](http://www.daniweb.com/web-development/web-design-html-and-css/news/422247/only-firefox-3.6-is-fully-compatible-with-our-site-says-ebay) I could not upvote, because the comment box (which I don't need in this case) is hovering over the arrows.

Member Avatar for deceptikon
0
198
Member Avatar for Dani

http://stackoverflow.com/questions/6635536/prevent-codeigniter-session-library-from-sending-set-cookie-header-parameter-if

Member Avatar for diafol
0
175
Member Avatar for kaizokupuffball

[Here](http://stackoverflow.com/questions/6271237/detecting-when-user-scrolls-to-bottom-of-div-with-jquery) is how to detect that you scrolled to the bottom. Then you need to change your load to something that reads just a specific amount of images at a time. To do that you'll need to change your `get.php?page=N` to return a "page" at a time.

Member Avatar for LaxLoafer
0
178
Member Avatar for Zorrro

> Something will better than nothing Some generic template will be pointless in most cases.

Member Avatar for Zorrro
0
188
Member Avatar for broj1

If you want to put raw data in the image tag, you'll have to base64 encode it. You can read about it [here](http://stackoverflow.com/questions/5984433/is-it-more-efficient-to-put-raw-image-data-in-the-src-attr). Whether it is a good idea, I don't know. I usually link to a script that outputs the image.

Member Avatar for broj1
0
237
Member Avatar for Buppy

I doubt modulus is intended to be used with floating point. Your value gets cast to an int, and is therefor zero.

Member Avatar for pritaeas
0
71
Member Avatar for HasNor

This is probably your issue. The column is not named `tran_id` but `MAX(tran_id)` but you can give it an alias with `AS` like this: $sqlmax="SELECT MAX(tran_id) AS max_tran_id, reqid FROM transaction AS last_id WHERE reqid='$reqid'"; //... $max=$rowmax['max_tran_id'];

Member Avatar for HasNor
0
126
Member Avatar for scepanmali

Can you please add a before and after example to this. preg needs a start and end character around the regex, but I'm not sure if that is enough. You can try this: $newString = preg_replace("%[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]%","<a href=\"\\0\" target=\"_blank\">\\0</a>", $originalString); If this doesn't work, please post the requested samples.

Member Avatar for pritaeas
0
75
Member Avatar for CriticalError
Member Avatar for DelphiGuy

If you have the handle you can send a message to maximize it, but I do not know of a message to retrieve if a window is maximized.

Member Avatar for nullptr
0
140
Member Avatar for vizz

What design do you want to protect ? Can you explain a little more what you are trying to achieve?

Member Avatar for vizz
0
147
Member Avatar for DaveyMoyes
Member Avatar for trektrak

Yes, you can replace the windows login with something else, but AFAIK it has to be a desktop application. Problem with the webbrowser is that that login code is running on the server, and not on your local machine. It can't interact with the login service of your machine.

Member Avatar for diafol
0
194
Member Avatar for riahc3
Member Avatar for blaaam

What you would have to do is make (for example) a link to `detail.php?id=1` (where 1 will be the ID from the database). In your detail script you can use `$_GET['id']` to query your database for this particular record, and output all details in whatever way you want.

Member Avatar for Biiim
0
325
Member Avatar for Farhad.idrees

http://www.daniweb.com/business-exchange/show-off-your-projects/threads/419589/free-php-chat-script

Member Avatar for breakzzzz20
0
111
Member Avatar for George_91
Member Avatar for pritaeas
0
1K
Member Avatar for Susmita_Sikder
Member Avatar for pritaeas
0
82
Member Avatar for kletig

Because you are using AJAX, you will have to handle the redirect in Javascript, not PHP. So instead of doing the header in PHP, notify Javascript with a particular string (or JSON), to do the redirect for you.

Member Avatar for kletig
0
7K
Member Avatar for Griffin54
Member Avatar for wisedave

Connect both your old and your new domain name to your new webhost. If you do that you'll be in full control of the redirects.

Member Avatar for isoconsultant
0
279
Member Avatar for vizz

Have a look at my jquery plugin [here](http://www.pritaeas.net/public/jquery/hp/circulate/index.html). I'm sure you can adapt it to your needs (if you want a jquery solution).

Member Avatar for vizz
0
175
Member Avatar for Venom Rush

The result of the first call is the response. Personally, I like the simple introduction given [here](http://www.scottnichol.com/nusoapintro.htm). Perhaps it will help.

Member Avatar for diafol
0
5K
Member Avatar for don't give up

1. Setup a cronjob which runs a script that uses `mail()` 2. Use `mysql_query()`

Member Avatar for diafol
0
176
Member Avatar for latortuga42

Opera Dragonfly shows this: > Error thrown at line 3, column 2 in validate(form) in http://www.insiderspetra.com/New/includes/formValidation.js: var name = form.fist_name.value; Fix the typo.

Member Avatar for ddymacek
0
703
Member Avatar for nexocentric

> the interpreter keeps telling me that the variable is undefined What line is it referring to ?

Member Avatar for nexocentric
0
574
Member Avatar for ravoras

Not with just required, but the validation API maybe interesting, read more here: 1. http://www.html5rocks.com/en/tutorials/forms/html5forms/ 2. http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#the-required-attribute

Member Avatar for ravoras
0
130
Member Avatar for Ancient Dragon

> found one promising site that provides that service I wonder how they do this. Based on web presence alone, there is no fail proof way to check it.

Member Avatar for diafol
0
87
Member Avatar for diafol
Member Avatar for Marseline

You can try to use a GeoLocation script, [here](http://www.daniweb.com/web-development/php/threads/77998/php-converting-ip-to-country) is a start.

Member Avatar for pritaeas
0
120
Member Avatar for hptchen

Just yesterday I came across [Restler](http://luracast.com/products/restler/). Haven't had time yet to try it myself, but it looks very promising.

Member Avatar for pritaeas
0
67
Member Avatar for Dani

> I can't seem to copy-paste text in the text area on Chrome. Pressing CTRL + V just positions the cursor at the start of the text area. Same for Opera.

Member Avatar for Airshow
3
278
Member Avatar for jbennet

> to remove them i have to click on each one individually to delete them You can double click to select multiple. Only the yellow highlighting line is a little hard to spot.

Member Avatar for Airshow
0
2K
Member Avatar for apanimesh061

preg_match_all('/(<span style="text-align:justify;">)(.*?)(<A HREF="">)/i', $subject, $result, PREG_PATTERN_ORDER);

Member Avatar for apanimesh061
0
297
Member Avatar for harinath_2007
Member Avatar for jocky c

You also renamed the function `jMyCarousel2()`, but it does not exist. Change it back to: $(".jMyCarousel2").jMyCarousel({

Member Avatar for pritaeas
0
90
Member Avatar for dschuett
Member Avatar for Collossus
Member Avatar for pritaeas
0
133
Member Avatar for Dani

I used this in js: "(?!<[^>]*?)" + myWord + "(?!([^<]*?>))" to avoid highlighting in attributes. It looks if it is within tags, nothing more. Seems to work the same in PHP. Sorry to post this here, but I can no longer CTRL+V to paste in Opera.

Member Avatar for Dani
0
379
Member Avatar for veledrom

`mysql_connect` returns a resource or false, not an object, so you cannot use the `query` function like that. Looks like you wanted to use `mysqli` to me.

Member Avatar for veledrom
0
111

The End.