Forum: JavaScript / DHTML / AJAX 30 Days Ago |
| Replies: 2 Views: 339 Thank you for your reply.
Yes and No. The directories will later move to a different location(outside the webroot on a linux server).
And again, when that happens I just have to make changes... |
Forum: JavaScript / DHTML / AJAX 32 Days Ago |
| Replies: 2 Views: 339 Hello,
With PHP I've saved all my website settings in one file e.g
'baseUrl' => 'http://localhost/thisSite',
'resources' => '../Resources/',
'templates' => '../Resources/TPL/',
This... |
Forum: JavaScript / DHTML / AJAX Oct 13th, 2009 |
| Replies: 0 Views: 228 Hello,
I added some filtering and pagination functionality to a large table with JQuery.
It runs fine if I access it locally on the server.
But it runs very slowly if I access it over the... |
Forum: PHP Sep 22nd, 2009 |
| Replies: 5 Views: 293 Thank you. It is now working when I press the back button.
But it does not work when I click on a link in the navigation.
Would you know why that is?
Many thanks in advance. |
Forum: PHP Sep 21st, 2009 |
| Replies: 5 Views: 293 hello,
Doing that generated generated a header error. It said that header already sent. I think I am not allowed to a use a php header and a html header. |
Forum: PHP Sep 21st, 2009 |
| Replies: 5 Views: 293 hello,
I am trying to experiment with page caching. I would like my page to be cached by the browser for 15 mins. Because the page content does not change much but it downloads thousands of the... |
Forum: HTML and CSS Aug 18th, 2009 |
| Replies: 1 Views: 511 Hello,
Please take a look at :http://artduffieldrealty.webmaxsites.com/
The site works fine in IE8 and FF3.5
But I am having trouble with the menu in IE7. I made the mistake of not testing... |
Forum: Java Jul 26th, 2009 |
| Replies: 4 Views: 1,127 |
Forum: Java Jul 26th, 2009 |
| Replies: 4 Views: 1,127 The actual file that I am working with has 124 columns.
There are other columns with empty values. But that is okay since scanner returns empty strings for those columns. But everything is off by... |
Forum: Java Jul 26th, 2009 |
| Replies: 4 Views: 1,127 Hello,
I am trying to read in a tab delimited text file. Most lines in the file are in the following format:
Col1 Col2 Col3
data1 data2 data3
data1 data2 data3
... |
Forum: Java Jul 26th, 2009 |
| Replies: 6 Views: 356 This how I finally made it work:
First I commented out first line in JakartaWrapperTest.java. Which was:
import JakartaFtpWrapper;
Then I did the following(order doesn't seem to matter with... |
Forum: Java Jul 24th, 2009 |
| Replies: 6 Views: 356 Can you run it as well?
When I run it I get NoClassDefFoundErrorr.
It says:
Exception in thread main java.lang.NoClassDefFoundError: org/apache/commons/net/ftp/FTPClient
I assumed that this... |
Forum: Java Jul 24th, 2009 |
| Replies: 6 Views: 356 Thank your for your prompt reply.
Yes, it is in the class path.
It is in the same folder and I am using the following command to compile:
javac JakartaFtpWrapper.java JakartaWrapperTest.java -cp... |
Forum: Java Jul 24th, 2009 |
| Replies: 6 Views: 356 Hello,
I am trying to create a simple ftp client. I'm following the instructions from http://www.nsftools.com/tips/JavaFtp.htm(option 4)
If you take look at JakartaWrapperTest.java, The first... |
Forum: ASP Jun 12th, 2009 |
| Replies: 1 Views: 836 Hello,
I am generally a php guy. But right now I need to update entries in SQL Server using ASP.
Does anyone know how to escape malicious data before putting it into the database? The following... |
Forum: HTML and CSS May 25th, 2009 |
| Replies: 6 Views: 484 |
Forum: HTML and CSS May 24th, 2009 |
| Replies: 6 Views: 484 I used the following css along with eric myer's reset.css. I don't understand what you mean by using div for the navigation.
Could you kindly elaborate?
body {
background: #C0C0C0;... |
Forum: HTML and CSS May 24th, 2009 |
| Replies: 6 Views: 484 Hello,
I am trying to sharpen my css skills by practicing with the following
design:http://rayhanm.com/images/JeanBrunoneHome.png
You will find the html page at... |
Forum: ASP Apr 16th, 2009 |
| Replies: 0 Views: 995 Hello,
I have exe flash file on a IIS 6 server. Is there any way to run it in the browser?
Currently, if I click on link the browser hangs for a while and then downloads a zero kilobyte file.... |
Forum: MySQL Feb 12th, 2009 |
| Replies: 1 Views: 462 Hello,
Lets assume that I have the following four tables in my database:
Magazine:
mag_id (primary key)
name (Nature, Time, etc)
cat_id (reference to... |
Forum: HTML and CSS Nov 6th, 2008 |
| Replies: 7 Views: 1,435 Thank your for all your help. Sorry for not being able to thank you sooner. Too much pressure at work. Hopefully you'll be this generous with me in the future. |
Forum: HTML and CSS Sep 18th, 2008 |
| Replies: 7 Views: 1,435 Thanks again for your reply.
I've taken your suggestion and applied the left and right divs.
However, now the submit button and the text area are overlapping.
I've tried different things but I... |
Forum: HTML and CSS Sep 17th, 2008 |
| Replies: 7 Views: 1,435 I think I see what you mean. I think should have created column divs as well in order to achieve the look I was going for.
But what is holding the other spans in place?
Thank you for your... |
Forum: HTML and CSS Sep 17th, 2008 |
| Replies: 7 Views: 1,435 Hello,
I am trying learn how to make a form using css instead of table. But I am having problem with it. If you would kindly copy and paste the following code you will see that the error message... |
Forum: PHP Sep 11th, 2008 |
| Replies: 1 Views: 839 Hello,
I am retrieving html out of a multipart message using: $html = imap_fetchbody($imapStream, $emailId, '2');
And I am retrieving plain text by using $plain = imap_fetchbody($imapStream,... |
Forum: PHP Aug 21st, 2008 |
| Replies: 2 Views: 1,586 Hello,
Is there a way to create new email accounts using php? There must be right? Many sites will give you a mailbox as soon as you register.
How do they do it? |
Forum: PHP Aug 20th, 2008 |
| Replies: 0 Views: 459 Hello,
I need to give different people different email addresses of my site. For example, advice(at)mysite.com, support(at)mysite.com, author(at)mysite.com, etc.
But I would like for all the... |
Forum: PHP Jul 28th, 2008 |
| Replies: 1 Views: 392 |
Forum: PHP Jul 27th, 2008 |
| Replies: 1 Views: 392 Hello,
I am experimenting with sockets and pop3.
I am trying to to connect to gmail with the following code. But it prints an empty string as a response. Should it not print out 200 OK? Could... |
Forum: PHP Jul 24th, 2008 |
| Replies: 2 Views: 1,168 Hello,
In a spam message I always see my own email address in the to: field. How do they do that?
They must use the bcc: field to send out the emails. So why do I see my own email address in... |
Forum: PHP Jul 16th, 2008 |
| Replies: 1 Views: 9,436 Hello,
How can I declare an array as a class variable? For example I can do:
<?php
class test {
private $name = 'john';
public function getName() { |
Forum: PHP Jun 27th, 2008 |
| Replies: 3 Views: 1,677 So it would only work on the local host then?
Is there way to connect remotely? |
Forum: PHP Jun 27th, 2008 |
| Replies: 3 Views: 1,677 Hello,
Running the following code returns FALSE.
$server = "smtp.gmail.com";
fsockopen('tcp://' . $server, 587);
I know those are correct server address and port because I have ssmtp installed on... |
Forum: PHP Jun 10th, 2008 |
| Replies: 5 Views: 2,690 The code you posted executed without errors. Yes, I am using linux.
Here is the line that throws the error. $textbox = imagettfbbox($font_size, 0, 'monofont.ttf', $code) or die('Error in... |
Forum: PHP Jun 10th, 2008 |
| Replies: 5 Views: 2,690 Thanks for your reply. Using absolute path did not help. As I mentioned in the previous post, the code works fine when I upload it to a server. But it doesn't work on my computer. |
Forum: PHP Jun 9th, 2008 |
| Replies: 5 Views: 2,690 Hello,
I call the imagettfbbox function like so imagettfbbox($font_size, 0, 'monofont.ttf', $code) but its generating the following error: 'imagettfbbox() [function.imagettfbbox]: Could not... |
Forum: PHP Jun 3rd, 2008 |
| Replies: 4 Views: 2,687 <?php
include('connection.php');
$query = "select field from table where field='f1'";
echo mysql_query($query);
echo query($query);
?>
This code returns resouce id #7 for the first command... |
Forum: PHP Jun 3rd, 2008 |
| Replies: 4 Views: 2,687 Hello,
mysq_query($query) returns a valid result set. However,
function query($query)
{
return mysql_query($query);
}
returns a 1. Why does this happen? Is there a way around it? ... |
Forum: HTML and CSS Jun 2nd, 2008 |
| Replies: 2 Views: 2,637 Hello,
Is there a way to create a grid-like form with CSS? Meaning, I would like the label and input fields to be equidistant from one another. It naturally happens if I use tables but is there a... |