Search Results

Showing results 1 to 40 of 934
Search took 0.05 seconds.
Search: Posts Made By: ardav
Forum: PHP 1 Hour Ago
Replies: 4
Views: 45
Posted By ardav
You canta do da code no? You wanna pay duh wiseguys onna dis nice site? Don Atli isa da good guy, anna dis Cwarn fella, he's a good for duh wetwork - bat he's notta patsy minda you. Pay youra...
Forum: PHP 3 Hours Ago
Replies: 4
Views: 45
Posted By ardav
You wanna maika me an offer I canna refuse?
Forum: PHP 3 Hours Ago
Replies: 12
Views: 185
Posted By ardav
Oh boy, where do I start?
First of all, most of the time Ajax is pretty much javascript calling a php script in order to change the contents of a tag. There's heck of a lot more to it, but that's...
Forum: Geeks' Lounge 6 Hours Ago
Replies: 14
Views: 218
Posted By ardav
Damn, I forgot about Shawshank. That's one big film I loved. It was one of the few films I've seen that lives up to the original story. In fact I saw the stage show recently and that was amazing....
Forum: PHP 11 Hours Ago
Replies: 12
Views: 185
Posted By ardav
This is a situation where ajax could help. You really don't need to have two pages. You could have just the one with a DIV that is updated to show different forms. This means you could have a number...
Forum: PHP 12 Hours Ago
Replies: 6
Views: 133
Posted By ardav
127.0.0.1 is the same as 'localhost'

The fact that you're using Windows as Apache local server and Linux as Apache remote server makes absolutely no difference. It's the same as my setup.

My...
Forum: Geeks' Lounge 12 Hours Ago
Replies: 14
Views: 218
Posted By ardav
Les Patterson Saves The World must rank with one of the worst movies ever, but I love it. I love it because it offends everybody, there's no sickening schmalz, buddy-buddy nonsense, emotional hacks...
Forum: Geeks' Lounge 12 Hours Ago
Replies: 7
Views: 106
Posted By ardav
I don't think we'll ever know how the BB came about. We'll get within a fraction of a second of the 'event' but won't be able to go further. From what I remember of my basic physics, time did not...
Forum: PHP 13 Hours Ago
Replies: 6
Views: 133
Posted By ardav
Have you thought of accessing the hosts and v-hosts files on Windows?

HOSTS file:
C:\Windows\System32\drivers\etc\hosts

You should see something like:

# For example:
#
# 102.54.94.97...
Forum: PHP 22 Hours Ago
Replies: 6
Views: 153
Posted By ardav
SOrry to butt in. The prototype library can ease the use of ajax objects and allow straightforward updating:

Get the prototype library from prototypejs.org and keep it in "scripts" folder.
Create...
Forum: PHP 1 Day Ago
Replies: 5
Views: 132
Posted By ardav
Yes, good point Atli. Didn't mess with the code too much, just rearranged it.

@Mrjoli: if you don't follow what Atli's referring to - it's the $_POST variables - they need to be cleaned or...
Forum: PHP 1 Day Ago
Replies: 10
Views: 235
Posted By ardav
I won't disagree with previous posters, but I can't imagine portals allowing limitless free sms. Most offer a trial 10 free sms service. I've seen rates of £33/1000 messages - don't know how good...
Forum: PHP 1 Day Ago
Replies: 5
Views: 132
Posted By ardav
You would be best to send the form to another page to avoid resending data when the page is refreshed/reloaded.

So

firstpage.php (containing form)

SENT TO

formhandler.php (validates,...
Forum: DaniWeb Community Feedback 1 Day Ago
Replies: 22
Views: 979
Posted By ardav
I would expect mods/admins to be exempt from such impositions, as they are pillars of the community who would use their voting abilities appropriately. Non-mods/non-admins (who act as if they are...
Forum: PHP 2 Days Ago
Replies: 36
Views: 1,050
Posted By ardav
Seeing as nobody has replied yet, I'll give another bit. BTW, I like '...other experts...'! - but I ain't one of them.

For your users and finding busy times, could I suggest that you DON'T treat...
Forum: DaniWeb Community Feedback 2 Days Ago
Replies: 22
Views: 979
Posted By ardav
Thank you HG. That was the crux of my original reply. However, I was accused of 'speaking for others'. This was not certainly not the case and I was a bit peeved that this was suggested by a mod of...
Forum: DaniWeb Community Feedback 2 Days Ago
Replies: 22
Views: 979
Posted By ardav
Verbal filth?? Irrelevant?? Judging by the down votes, I seem to have struck a nerve. Right to reply revoked and I promise to be a good little boy. Ho-hum. Over and out.
Forum: PHP 3 Days Ago
Replies: 36
Views: 1,050
Posted By ardav
I'll add a bit of info, but I'll leave it to others to flesh solutions:

suggestion: resource allocation : tricky!

resource_allocation table
id (PK)
event_id (FK)
resource_id (FK)

When...
Forum: DaniWeb Community Feedback 3 Days Ago
Replies: 22
Views: 979
Posted By ardav
Get riled up easily much?

Not as a rule.
To clarify: I was agreeing with a previous post that the system doesn't seem to be working as it should due to its abuse by a number of people, including...
Forum: DaniWeb Community Feedback 3 Days Ago
Replies: 22
Views: 979
Posted By ardav
Who the hell shook your cage? I never claimed to know what other people were thinking. I stated my own opinion. I'm not moaning, just stating that if there is no real use for it, take it off. Simple....
Forum: PHP 4 Days Ago
Replies: 7
Views: 174
Posted By ardav
//e.g. in a config file - although should this be a constant as opposed to a variable?

$base_image_directory = $_SERVER['DOCUMENT_ROOT'] . "/admin/uploads/images/";

//In any file within the...
Forum: PHP 4 Days Ago
Replies: 5
Views: 5,229
Posted By ardav
Here's my two-penneth worth. If JS not on - problems with JS solution. WHat about file_get_contents?

The reason I suggest this is that the display of the page if using JS is at the mercy of the...
Forum: PHP 4 Days Ago
Replies: 36
Views: 1,050
Posted By ardav
Post your own suggestions and we'll have a look at them and advise accordingly.
Forum: PHP 4 Days Ago
Replies: 8
Views: 230
Posted By ardav
You had something like:
WHERE ( ((building_id='3') && (lvl = '2')) && ((building_id='2') && (lvl = '5')) )

Which means that you wanted the scenario where building_id = 3 AND buidling_id = 2 AT...
Forum: PHP 4 Days Ago
Replies: 13
Views: 344
Posted By ardav
Sorry M, this was the problem:

$day = $no(date('w'));

should've been:

$day = $no[date('w')];

Guess I'm not square enough!
Forum: DaniWeb Community Feedback 4 Days Ago
Replies: 22
Views: 979
Posted By ardav
I agree that it's getting to be a daft system. Some idiots using it to upset other people. If it's not worth moaning about - if it's not that important - if it's just eye candy - pull the plug.
...
Forum: PHP 5 Days Ago
Replies: 7
Views: 163
Posted By ardav
Sorry sadie - I edited while you replied - hope you got the rest of my post!
Forum: PHP 5 Days Ago
Replies: 7
Views: 163
Posted By ardav
Yes.

From the php manual:

mkdir("/path/to/my/dir", 0700);

http://www.php.net/manual/en/

OR download from:
Forum: PHP 5 Days Ago
Replies: 8
Views: 230
Posted By ardav
I

To answer the question:

"SELECT region_id FROM building_lvl WHERE (building_id = 3 AND lvl = 2) OR (building_id = 2 AND lvl = 5)"

However you then introduce another table, which I assume...
Forum: Windows Vista and Windows 7 5 Days Ago
Replies: 3
Views: 233
Posted By ardav
Open Task Manager and look at the CPU/Memory under Processes (click to sort the column - rank largest first). You'll see a few processes swap places. You may have a few rogues.

Also sounds like...
Forum: PHP 5 Days Ago
Replies: 13
Views: 344
Posted By ardav
OK, if you didn't like the setlocale solution, how about this?

//the following code sets English as the default language unless Norsk is selected.
<?php
if(isset($_POST['lan'] && $_POST['lan']...
Forum: PHP 5 Days Ago
Replies: 36
Views: 1,050
Posted By ardav
but dont u think it would be an additional burden, each time when displaying anything in calendar, we need to check all the recurring events if they fall into current required period even if their...
Forum: PHP 5 Days Ago
Replies: 13
Views: 344
Posted By ardav
I just did the php manual's setlocale
<?php
setlocale(LC_ALL, 'no_NO');
echo strftime("%A %e %B %Y", mktime(0, 0, 0, 12, 22, 1978));
?>

And got this:
fredag 22 desember 1978
Forum: PHP 5 Days Ago
Replies: 36
Views: 1,050
Posted By ardav
NOOOOOOOO!
The recurring events and override fields are just 'flags' in a way. Each type of event is just that - an event.
If the event is just a one-off and is not overriding any repeating event,...
Forum: PHP 6 Days Ago
Replies: 1
Views: 137
Posted By ardav
This sounds like a simple js solution (use javascript to get values from onclick events).

You can set the input box, "total", thus:

...(label)...
<select id="base_no"...
Forum: PHP 6 Days Ago
Replies: 36
Views: 1,050
Posted By ardav
No what I mean is that an event can either be:

*a straightforward event (DON'T fill recurring or override fields)
*a recurring event (fill both fields BUT NOT override field)
*an override...
Forum: PHP 6 Days Ago
Replies: 36
Views: 1,050
Posted By ardav
The rationale I proposed was to include override as a field in the events table so that it would have a unique event_id, thereby having all the attributes of a 'normal' event. If you've gone and...
Forum: PHP 6 Days Ago
Replies: 13
Views: 344
Posted By ardav
If you're trying to make a language switcher, I think it'll need to be a bit more rigorous, e.g. storage of language option. Is there a reason for the 'get' instead of 'post'. Is Norsk supported by...
Forum: PHP 6 Days Ago
Replies: 6
Views: 225
Posted By ardav
Just an addition to Atli's post (good advice, BTW):
If you're running something like cPanel, setting cronjobs is easy. However, some hosts don't provide this service as standard and you may need to...
Forum: PHP 6 Days Ago
Replies: 1
Views: 138
Posted By ardav
Are the sites identical. If so, just point one of them to the other via A RECORD. Otherwise, you've got more work to do! Sessions to my knowledge, can't exist across domains. The only thing I can...
Showing results 1 to 40 of 934

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC