User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 374,503 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,834 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 500
Search took 0.05 seconds.
Posts Made By: digital-ether
Forum: PHP 1 Day Ago
Replies: 1
Views: 102
Posted By digital-ether
Re: redirect page

RewriteCond %{HTTP_HOST} ^domain.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301
Forum: PHP 1 Day Ago
Replies: 2
Views: 53
Posted By digital-ether
Re: intializing variable at time object creation

I don't think there is anything else called by the PHP engine during instantiation of a class except for the constructor.

I think the question is why you don't want to override the parent. If the...
Forum: PHP 1 Day Ago
Replies: 1
Views: 66
Posted By digital-ether
Re: Use same part of a variable for two different things

To make the code a bit more lean, you probably want to look into the "factory method" which is a programming design pattern.

http://en.wikipedia.org/wiki/Factory_method_pattern

The simple factory...
Forum: PHP 1 Day Ago
Replies: 1
Views: 95
Posted By digital-ether
Re: Python and PHP integration help: Incorrect Image URL decode?

How are you displaying the image? Could you post the code for that?
Forum: PHP 1 Day Ago
Replies: 2
Views: 79
Posted By digital-ether
Re: html to word doc

Do you mean convert a word doc into HTML? Thats the only way they can download it in HTML.
Forum: PHP 6 Days Ago
Replies: 11
Views: 315
Posted By digital-ether
Re: Echoing PHP variables in JavaScript

That is interesting...
I've created an example here: http://de-test1.appjet.net/
But it doesn't execute for the browsers I tested.

It does not seem to me that a JS resource should be executed on...
Forum: PHP 6 Days Ago
Replies: 4
Views: 115
Posted By digital-ether
Re: inbox

Could you post some of your code?

We cannot help you unless we know how you are retrieving mails. There are many protocols and ways for retrieving email.
Forum: JavaScript / DHTML / AJAX 7 Days Ago
Replies: 2
Views: 283
Posted By digital-ether
Re: Dragging images in limited area

Get the dimensions of each element. http://www.csscripting.com/css-multi-column/dom-width-height.php
Get the positions of each element. http://www.quirksmode.org/js/findpos.html
When they overlap,...
Forum: JavaScript / DHTML / AJAX 7 Days Ago
Replies: 5
Views: 281
Posted By digital-ether
Re: Can anyone help me?

You have the javascript within the PHP loop.

You need to take it out so that it loads only once.
Forum: PHP 7 Days Ago
Replies: 4
Views: 115
Posted By digital-ether
Re: inbox

Is the inbox for email?

How are you retrieving the emails? From a database? POP3? IMAP?
Forum: PHP 7 Days Ago
Replies: 3
Views: 182
Posted By digital-ether
Re: video gallery

What are you using to play the video? A flash player? direct link? Could you post some of your code...
Forum: PHP 7 Days Ago
Replies: 3
Views: 126
Posted By digital-ether
Re: Help! Why are files under main root slow to upload files, but subfolders are OK.

Thats pretty odd.
If you're up to it you could try downloading wireshark http://www.wireshark.org/.
On linux you can just use the package manager for your distro. Eg: on Debian: apt-get install...
Forum: PHP 7 Days Ago
Replies: 11
Views: 315
Posted By digital-ether
Re: Echoing PHP variables in JavaScript

JavaScript isn't executed if you just download the file. That is, if you add the Mime-Type that tells the browser is javascript, and send it the content, it will not execute it.
It is only executed...
Forum: PHP 7 Days Ago
Replies: 5
Views: 77
Posted By digital-ether
Re: Time in terms of PHP

PHP can measure time in seconds using the time() function.
http://www.php.net/time

or you can use microtime() which is a measure of time in microseconds....
Forum: PHP 15 Days Ago
Replies: 1
Views: 105
Posted By digital-ether
Re: cross scripting issue

Sounds like a JavaScript problem. You'll probably get better replies in the JS forum.

You'll need to retrieve the JavaScript that does the form validation also. Most form validation JS will register...
Forum: PHP 15 Days Ago
Replies: 4
Views: 129
Posted By digital-ether
Re: Storing button clicks

If you will be refreshing the page, then you'll need some form of persistent storage. The choices are to store the results in a client side cookie, or server site, such as with PHP.

If you don't...
Forum: PHP 15 Days Ago
Replies: 2
Views: 114
Posted By digital-ether
Re: UTF-8 causing problems with IE6 over SSL

Thats pretty nasty.

Have you tried this on different servers with the same results?
Could you post the HTML contents of the page, and if possible the HTTP Request, Response Headers.
Forum: PHP 15 Days Ago
Replies: 19
Views: 383
Posted By digital-ether
Re: insrting from one table to another

Just a note on this:

When you place user input into an SQL query, always make sure you escape it for SQL injections (used hack into your database). For Strings you can use mysql_real_escape_string()...
Forum: PHP 17 Days Ago
Replies: 19
Views: 383
Posted By digital-ether
Re: insrting from one table to another

If you want to select just one column, then make sure you ask for just one column. If you only need one row, then limit the results to one row...

eg:

SELECT column1 from table1 where {condition}...
Forum: PHP 17 Days Ago
Replies: 5
Views: 422
Posted By digital-ether
Re: Code extract works, but doesnt function properly..

How are $results and $results2 related?
What are you trying to do?

The if/else block with $results and $results2 probably insn't necessary, just do:

echo $results.$results2;

If either is empty,...
Forum: PHP 20 Days Ago
Replies: 5
Views: 422
Posted By digital-ether
Re: Code extract works, but doesnt function properly..

It looks like this line:

$results2 = .= "Messages: No New Messages";

the = .= is a syntax error.
Forum: PHP 22 Days Ago
Replies: 6
Views: 471
Posted By digital-ether
Re: This Virtual Directory requires a browser that supports the configured encryption opt

The error you're having seems to be the default in PHP when a socket connection attempt times out.

I'd like to suggest anotehr way of going about this:

Test out a socket connection you're trying...
Forum: PHP 24 Days Ago
Replies: 2
Views: 325
Posted By digital-ether
Re: Image Scrolling using PHP

You can't implement image scrolling with PHP. The scrolling of the images would have to be invoked on the HTTP client, which in this case is the WAP enabled phone. The only way to do this is to have...
Forum: PHP 24 Days Ago
Replies: 6
Views: 471
Posted By digital-ether
Re: This Virtual Directory requires a browser that supports the configured encryption

Sorry, I don't think that was very clear.

You don't need Apache to accept SSL since you're not making the SSL connection to Apache. The SSL connection is between your PHP script and the Exchange...
Forum: PHP 24 Days Ago
Replies: 6
Views: 471
Posted By digital-ether
Re: This Virtual Directory requires a browser that supports the configured encryption

Is the exchange server on your localhost?
If it isn't then there was no need to configure apache accept ssl.

What I think is happening is the exchange server you're testing on requires SSL and your...
Forum: PHP 24 Days Ago
Replies: 4
Views: 356
Posted By digital-ether
Re: Meta Keyword Generator

I wouldn't jump 2, and 3 words though. Just have one loop, and then take 1,2,3 words from the current word and put them into lists. That way you get each possible phrase. The current misses those...
Forum: PHP 24 Days Ago
Replies: 5
Views: 422
Posted By digital-ether
Re: Code extract works, but doesnt function properly..

Hi,

Are you creating this from scratch or hacking an existing uddleIM component/plugin etc. The missing part of the code makes it hard to follow..

I can point out what I think may be problem but...
Forum: PHP 24 Days Ago
Replies: 3
Views: 232
Posted By digital-ether
Re: Lab scheduling

When you say you know how to use queries, do you mean query the database from PHP or are you just familiar with those queries (sql)?

That is: do you have your PHP page set up, and can query the...
Forum: PHP 24 Days Ago
Replies: 3
Views: 334
Posted By digital-ether
Re: How can i create subdomain

Here is one way to do it:

You need to be able to edit your dns records. Add a wildcard entry (http://en.wikipedia.org/wiki/Wildcard_DNS_record) for your domain.

Then configure your webserver to...
Forum: PHP 29 Days Ago
Replies: 1
Views: 183
Posted By digital-ether
Re: Optimize, Fix MySQL Join Query

I've ended up using this query, which is basically just the subqueries wrapped up into one query, but I'd like to do this with JOINs if possible.

SELECT (SELECT COUNT(ma.id) FROM jos_mediaboss AS ma...
Forum: PHP 29 Days Ago
Replies: 1
Views: 183
Posted By digital-ether
Optimize, Fix MySQL Join Query

I'm trying to create an Alpha Numeric List of links. Each alphabet links to a page that will display rows whose titles start with that alphabet or numeral.
For each alphabet, I want to get the...
Forum: JavaScript / DHTML / AJAX 32 Days Ago
Replies: 19
Views: 1,730
Posted By digital-ether
Re: what is difference between javascrpt and JSP?

JavaScript was designed for the browser and still is it's main use but its usefulness has outgrown just the browser.
It can run on the server side, just like PHP, Java etc.
It can be a standalone...
Forum: JavaScript / DHTML / AJAX 34 Days Ago
Replies: 3
Views: 597
Posted By digital-ether
Re: Regular Expression Headache

Very accurate discussion here:

http://simonwillison.net/2004/Sep/20/newlines/
Forum: JavaScript / DHTML / AJAX 34 Days Ago
Replies: 19
Views: 1,730
Posted By digital-ether
Re: what is difference between javascrpt and JSP?

I think that definition would mean that every programming language on a web server is a scripting language since it supports the web server's task of serving HTML. lol.. Just as JavaScript does it...
Forum: JavaScript / DHTML / AJAX 34 Days Ago
Replies: 4
Views: 1,232
Posted By digital-ether
Re: Nested Select Boxes in Javascript

I think what you want is how to populate a second select box based on the selection in the first select box and/or vise versa. (which isn't really nested select boxes)

Basically, the steps are...
Forum: JavaScript / DHTML / AJAX 34 Days Ago
Replies: 6
Views: 868
Posted By digital-ether
Re: Help in AJAX!!!!!!!!!!

Normally XMLHttpRequest (XHR) can only be made to the same host.

Cross domain is only possible if the web service (remote host) implements it. Either using a workaround such as cookies, url...
Forum: JavaScript / DHTML / AJAX Jun 17th, 2008
Replies: 3
Views: 727
Posted By digital-ether
Re: unable to send a HttpRequest

Use try{ ... yoru code ... } catch(e) { alert(e); } to see whats going wrong.
XHR also requires the same origin for request and remote server. Even if www or a sub domain is considered a different...
Forum: JavaScript / DHTML / AJAX Jun 17th, 2008
Replies: 4
Views: 1,048
Posted By digital-ether
Re: Password protect with cookie

How is your ezine subscription implmented? You'll need to be able to retrieve the list of users subscribed to your ezine, and have them insert their email, and/or password before carrying on....
Forum: JavaScript / DHTML / AJAX Jun 17th, 2008
Replies: 6
Views: 868
Posted By digital-ether
Re: Help in AJAX!!!!!!!!!!

Are you trying to figure out how to use the WSDL file to discover an exposed service and make use of it?
Or is the the actual performing of the AJAX requests what you want to figure out?
Forum: JavaScript / DHTML / AJAX Jun 17th, 2008
Replies: 4
Views: 1,232
Posted By digital-ether
Re: Nested Select Boxes in Javascript

What do you mean by nested select boxes?

I don't think you can have nested select boxes in HTML. The only thing I can think of that comes close is the optgroup....
Showing results 1 to 40 of 500

 
All times are GMT -4. The time now is 2:06 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC