Search found 2213 matches

by Alexej Kubarev
Mon Nov 24, 2008 11:57 am
Forum: Free time
Topic: BAN the SPAM bots
Replies: 7
Views: 3821

Re: BAN the SPAM bots

Heh, thanx for the list
I think the new system should manage them all now
by Alexej Kubarev
Mon Nov 24, 2008 11:56 am
Forum: News and Announcements
Topic: 5 hours downtime
Replies: 2
Views: 3456

Re: 5 hours downtime

+rep to Graz for beeing who he is ;-)
-rep to Dreamlink for not having redundant drives :D
by Alexej Kubarev
Mon Nov 24, 2008 11:54 am
Forum: Free time
Topic: Please review my new upcoming website!!!
Replies: 0
Views: 1127

Re: Please review my new upcoming website!!!

Too bad your account has been suspended.
And about spam = yeah sorry we were having some issues a little while ago
by Alexej Kubarev
Sun Jul 20, 2008 2:47 am
Forum: Free time
Topic: Wml and mobile devices
Replies: 0
Views: 1569

Re: Wml and mobile devices

basically that can be done with any programmign language. all you need to know is how to write wap pages and such,
The reset is done via php for instance as server side language. same would go for developing this in Java or .NET
by Alexej Kubarev
Sat Jul 12, 2008 1:49 am
Forum: Free time
Topic: Hi all in the group
Replies: 0
Views: 1300

Re: Hi all in the group

Hey and welcome =) Not often people are posting to introduce themselves, so its always nice when someone does. I hope you enjoy your stay here and find solutions to any problems you may encounter. Over the past few years running we have probably replied to most of the problems people may encounter w...
by Alexej Kubarev
Sun Jun 15, 2008 8:43 am
Forum: Free time
Topic: how to remove google ads
Replies: 4
Views: 4579

Re: how to remove google ads

i suggest you read the post again (about 100 times if needed) and actually try to see the solutions, as it is there in plain text :P (yepp im cranky today!)
by Alexej Kubarev
Tue Jun 10, 2008 11:58 pm
Forum: Free time
Topic: Current Projects (what are you up to?)
Replies: 36
Views: 31287

Re: Current Projects (what are you up to?)

Lately: secret projects i am not allowed to discuss :P
But mostly Java over PHP (quite a change, huh? )
Anyways, not much to write - therefore no posts :P
by Alexej Kubarev
Wed May 28, 2008 11:17 pm
Forum: PHP coding => Mail
Topic: daily email notification
Replies: 1
Views: 1323

Re: daily email notification

For pseudo cronjobs, check how phpBB for isntance implemented it for prunning
as in go in to www.phpbb.com, download latest version and look around.
If you dont know anything about PHP, start off with basics before you go into more advanced tasks.
by Alexej Kubarev
Sun May 25, 2008 1:52 am
Forum: PHP Scripts
Topic: Urgent help: to query with results from another query
Replies: 7
Views: 2475

Re: Urgent help: to query with results from another query

if you read my answer i posted how to do that as well..
The reason why i dont suggest using forms for that because its stupid, and usually much better visually to do it via links.

In general forms make much more complicated and hard to use navigation, usually without any need.
by Alexej Kubarev
Fri May 23, 2008 9:41 am
Forum: PHP Scripts
Topic: Urgent help: to query with results from another query
Replies: 7
Views: 2475

Re: Urgent help: to query with results from another query

if you call your products.php script with the following link:
products.php?catId=5 then $_GET['catId'] will contain 5
$_GET simply access query string.

read more at www.php.net/manual/en
by Alexej Kubarev
Fri May 23, 2008 5:01 am
Forum: PHP Scripts
Topic: Urgent help: to query with results from another query
Replies: 7
Views: 2475

Re: Urgent help: to query with results from another query

This is a quite simple task: <?php if(isset($_GET['catId']) && is_integer($_GET['catId'])) { $myCatId = $_GET['catId']; $sql = 'SELECT productName FROM products WHERE categoryId = ´'.$myCatId.'´ ORDER BY productName'; // Please make sure you escape all variables for MySQL query. i did not put this i...
by Alexej Kubarev
Fri May 23, 2008 2:37 am
Forum: PHP Scripts
Topic: Urgent help: to query with results from another query
Replies: 7
Views: 2475

Re: Urgent help: to query with results from another query

You will actually have to do it in several steps, like checking URL parameters or something similar for selected category, if no category selected you do normal SELECT query without any WHERE clause or LIMITs (that is if you display everything on the single page. If a category is selected you can do...
by Alexej Kubarev
Wed May 21, 2008 10:57 pm
Forum: PHP coding => General
Topic: Increasing handling session time
Replies: 31
Views: 4890

Re: Increasing handling session time

Ok then your php.ini file should look something like this:

Code: Select all

max_execution_time = 600
max_input_time = 280
post_max_size = 20M
upload_max_filesize = 20M

[Session]
session.save_path = "/mnt/w9999/.phpsessions"
by Alexej Kubarev
Wed May 21, 2008 12:18 pm
Forum: PHP coding => General
Topic: Increasing handling session time
Replies: 31
Views: 4890

Re: Increasing handling session time

Im actually about to go get some sleep now, funny enough..
I'll try checking this thread tomorrow morning as well as during the day (if i don't get sucked into the work again)

You can always try using my MSN to reach me if you need any help and i don't reply here fast enough: msn@codexp.net
by Alexej Kubarev
Wed May 21, 2008 11:46 am
Forum: PHP coding => General
Topic: Increasing handling session time
Replies: 31
Views: 4890

Re: Increasing handling session time

Don't worry :-) I'm still here! Been a hard day so I'm quite sleepy at the moment, lemme see if i can find why php_value didn't work as it should.. But hey, did you say you had a "local" php.ini file? I think its in /mnt/w0507/d49/s29/b02da5a6/www/dacsnow.com/php.ini For you it would look like /www/...
by Alexej Kubarev
Tue May 20, 2008 9:07 pm
Forum: PHP coding => General
Topic: Increasing handling session time
Replies: 31
Views: 4890

Re: Increasing handling session time

As for the security risks: If your sessions folder is accessible via web, then one can potentially hijack sessions and make your server think they are someone else. double .htaccess files are nothing to worry about. .htaccess files are working per directory. if parent folder has .htaccess but not it...
by Alexej Kubarev
Tue May 20, 2008 9:01 pm
Forum: MySQL Installation
Topic: Where can I get libmysql.dll that comes with PHP V. 5.2.1?
Replies: 2
Views: 3874

Re: Where can I get libmysql.dll that comes with PHP V. 5.2.1?

or do what i would do in this situation: run it is apache module :-)
by Alexej Kubarev
Tue May 20, 2008 8:59 pm
Forum: PHP coding => General
Topic: Increasing handling session time
Replies: 31
Views: 4890

Re: Increasing handling session time

Wow, lots of messages while i was asleep.. thats typical.
Humm php_value unknown... bahh they are running it as a CGI module and it may not work.. damn..
I guess its better for you to make them fix it.
by Alexej Kubarev
Tue May 20, 2008 12:26 pm
Forum: PHP coding => General
Topic: Increasing handling session time
Replies: 31
Views: 4890

Re: Increasing handling session time

What, you are in the room? and i was thinking here you sit by and spam refresh on this page, waiting for my reply :-( im so disappointed. **joke** (sorry im in a such mood today) And yes it does answer my question. then you can create a folder called "tmpsessions" in your www folder. so the file str...
by Alexej Kubarev
Tue May 20, 2008 10:49 am
Forum: PHP coding => General
Topic: Increasing handling session time
Replies: 31
Views: 4890

Re: Increasing handling session time

I am afraid you will need to contact your web host and ask them to check why sessions are getting dropped after 2 minutes or so. There is a possibility that they are cleaning /tmp folder automatically where sessions seem to be stored. They also do not have thread safety on which MAY result in some p...
by Alexej Kubarev
Tue May 20, 2008 10:34 am
Forum: PHP coding => General
Topic: Increasing handling session time
Replies: 31
Views: 4890

Re: Increasing handling session time

Ok it does seem to be your server configuration problem.
I will take a moment to compare the config one more time
by Alexej Kubarev
Tue May 20, 2008 8:15 am
Forum: PHP coding => General
Topic: Increasing handling session time
Replies: 31
Views: 4890

Re: Increasing handling session time

you need to go to the code tab of dreamweaver, remove everything and copy-paste the code i gave you.
by Alexej Kubarev
Tue May 20, 2008 4:08 am
Forum: mySQL & php coding
Topic: php & mysql basic data retrieval query principles
Replies: 6
Views: 2035

Re: php & mysql basic data retrieval query principles

365 queries is about 364 queries too much :-) You can actually fetch it by using one single query You can actually use a DATE field in database for dates, and use MYSQL date functions to fetch data. the query wills till be almost the same thou: SELECT * FROM Booking ORDER BY Date You can also add WH...
by Alexej Kubarev
Tue May 20, 2008 3:18 am
Forum: Server installation and configuration
Topic: extension_dir in directory or script
Replies: 0
Views: 1273

Re: extension_dir in directory or script

first of all... PHP5 extensions are not compatible with PHP4, Further more, different versions of PHP5 extensions are not compatible with other versions of PHP5. they need to be compiled for the same version. This is due to internal changes in the engine. for the second question it is not really wha...
by Alexej Kubarev
Tue May 20, 2008 2:33 am
Forum: mySQL & php coding
Topic: php & mysql basic data retrieval query principles
Replies: 6
Views: 2035

Re: php & mysql basic data retrieval query principles

actually i dont really get why would you be sending 365 entries. if you want to show full year: you simply do select all and limit by year, If you need to show month view - you select entries that are in your timespan. Depending on the amount of entries for calendar you are getting different amount ...