Xajax always uses the current request URI to send the requests to. If you want to change the request uri, you can defined upon Xajax object instantiation.
For instance:
$xajax = new xajax('/index.php');
xajax PHP Class Library - The easiest way to develop asynchronous Ajax applications with PHP
You are not logged in. Please login or register.
xajax Forums » Posts by q_no
Xajax always uses the current request URI to send the requests to. If you want to change the request uri, you can defined upon Xajax object instantiation.
For instance:
$xajax = new xajax('/index.php');
I've seen some similar encoding this week at work, they were cause by json_encode() and UTF8-strings. Perhaps it help to track down the source of the malformed strings..
Every hour? how about using a cronjob?
Hi,
it doesn't really have something to do with your OS. First of all, check your php.ini settings for "display errors ON". I suppose you'r php version throws some warnings and since your error reporting is turned off you don't see anything.
Let me know if it helped
I don't think there's a kinda timing issue. Your browser would throw an error if it couldn't establish a connection to your webserver. It seems more like your webserver just terminates the connection without sending a response at all.
Yes, this error message appears every now and then since firebug 1.4 IIRC. Seems like you have "break on errors" activated, otherwise firebug would skip this message.
You can detect a BOM when opening a UTF8-encoded file in an editor that's not capable of UTF-8 files or with a HEX Editor. If there's a BOM in your file, you'll see two weird looking charaters. The other typical reason for your issues are whitespace in included scripts before/after PHP tags.
I'm a bit confused, where does the conversion of the letter ä happen? that's not a proper encoding ![]()
no, rather a POST request, unless your configured xajax to use GET instead
Hm, for some reason your script dies during the request. Can you find any messages in the server error logs?
Try enabling error reporting and let us know what happens:
hm... so far I cannot see anything suspicious, but could you please paste the string causing the error? Guess the answer lies somewhere in the input of the function ![]()
Thanks Ed,
I know, the requirements for the screen resolution are quite high at the moment. Perhaps I'll go down for a 1024x768 minimum resolution, but the size of the map would suffer a lot. We'll see ![]()
I know I know, long time no see
But I want to share my latest project with you, since it uses xajax and might be interesting for a lot of people.
As a busy worker in an office it's sometimes really hard to find something new to eat at lunchtime. This app is supposed to give some inspiration:
Please add some nice locations, wherever you live ![]()
Feedback is highly appreciated, especially since it's currently in beta phase!
Thanks ![]()
Hi Artur,
Oliver just pointed me to this topic. I'm really sorry for the lack of presence. We have an almost finished 0.6 release in the trunk for a while now, but unfortunately the financial crisis didn't affect my company and everything is running a bit too well here. I'm swamped
As Oliver already said, CtC is also pretty busy and so we kinda messed things up a bit here. (If someone is selling time, let me know!)
This year is almost over and the holidays are very close. I can't promise anything for the end of this year, but I'm sure we'll be able to put everything together in January.
The current version in trunk is PHP 5 strict, supports JSON as well as the old XML responses and contains some other minor improvements. CtC was going to add some more htmlControls but since that idea is becoming a bit too big we'll leave it out for 0.6 and might maintain it separately later. Oliver, feel free to add anything I forgot here
Have to read the trunk again to remember all changes we made so far. ![]()
Gautam, this error message usually means that you fire an XHR while the page is (re)loading, thus you'r destroying the response handler. Make sure that your xajax function call doesn't trigger a page reload (for instance: onsubmit="return false;" in forms)
Hi Sebas,
thanks for pointing that out. I'll have a look at it asap ![]()
I like it too
$elements = array('foo' => 'value');
$objResponse->setFormValues('form_id',$elements);
![]()
Please do not modify any core files. You can define XAJAX_DEFAULT_CHARACTER_ENCODING on your own before including xajax. Xajax detects the encoding and sets decodeUTF8input automatically. You also have to make sure that all scripts / files / databases use the same encoding.
Oh, I'm sorry...looks like there's still debugcode inside the plugin :-|
As long as xajax works it's not a problem related to xajax. I'm not familar with php hosting on Win but you can try to use the AIO version (look into the download section). One user reported that the includes in his dev enviroment on win were very slow and the AIO version solved it for him.
That depends on your php error reporting, I suppose it's turned off. Check you php.ini and the php documentation.
The image files are compressed and when you open an image file to modify it it's converted into raw data. There's no formula to calculate the raw image size - JPGs for instance vary per compression level.
You can check the dimensions of the image before opening it: http://de3.php.net/manual/en/function.getimagesize.php
Tables do not support the innerHTML property. You have to use DOM methods to add/remove rows. You can however update the innerHTML of TD elements as long as they have an unique ID.
Posts found [ 1 to 25 of 1,123 ]
xajax Forums » Posts by q_no
Currently used extensions: pun_repository. Copyright © 2008 PunBB
[ Generated in 1.076 seconds, 5 queries executed ]