- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
72 Posted Topics
Hello, I am very new C#. I am trying to log into [url]http://mls.momls.com/SERetsMonmouth/Login.aspx[/url] with the following code and I am getting a 401 error. My user name and password are correct. I can manually log in through the browser. But I am not sure about the code I wrote. It … | |
Hello, How can I declare an array as a class variable? For example I can do: [CODE] <?php class test { private $name = 'john'; public function getName() { return $this->name; } } ?> [/CODE] But how can I make the following work? [CODE] <?php class test { private $name … | |
Hello, I am trying to secure a wordpress ecommerce page. I need [url]http://mysite.com/products-page/checkout/[/url] to be redirected to [url]https://mysite.com/products-page/checkout/[/url] So, I added the following line to my .htacces file and put the .htaccess file in the document root:[ICODE]RewriteRule ^products-page/checkout/$ [url]https://mysite.com/products-page/checkout/[/url] [R][/ICODE] It did not do anything. I can still go to … | |
Hello, I understand how use the onblur event the following way [CODE]<input name="city" id="city" onblur="myfunction()" />[/CODE] But what if I don't want to insert javascript in html. I need to keep all javacript in a separate file. Can I execute my function without mixing html and javascript? Thanks in advance. | |
Hello, Different browsers render form fields differently. Some browsers will make the corners rounded while some will create rectangular fields. I was wondering if anyone knows how to control this behavior. Is there a CSS technique for specifying the shape of an input field? ![]() | |
Hello, I trying to understand the point of css statements that target specific browsers. If Firefox can understand "-moz-border-radius" why can't it understand "border-radius" ? Does "-moz-border-radius" predate "border-radius" ? Is that what's going on? | |
Hello, I am trying align bullets with the bottom of the text in the li tags. I used different font sizes for text and bullets because that's what the design calls for. But since list items and anchor tags are inline elements I can't use top and bottom margin to … | |
Hello, Please take a look at [URL="http://www.jeanbrunone.com/ie/real.html"]http://www.jeanbrunone.com/ie/real.html[/URL]. I cannot get the rounded corners to line up correctly in IE. Please notice the woman's hair does not line up and misalignment in the navigation. For every element that needs rounded corners I have set the background to an image with two … | |
Hello, Please take a look at the attached picture. There is a shadow like this at the bottom of every page of a design that I am looking at. Could someone kindly tell me how create this effect? Thanks in advance. | |
Hello, Please take a look at the attached image. How can I create this without using a table? I tried dl and ol. But I can't get the elements to sit next to each other. Please advise. | |
Hello, I've cut up a single image into two and I would like them to sit on top of each other. Unfortunately, I can't get rid of the empty space between the two images. How is this done? Please copy and paste the code if you wish to view it. … | |
Hello, I am trying to learn how to embed properly. The following code works. But it does not pass W3C validation as XHTML 1.1. What am I doing wrong? [CODE] <object width="631" height="324"> <param name="movie" value="files/flash.swf"> <param name="wmode" value="transparent" /> <embed src="files/flash.swf" width="631" height="324" wmode="transparent"> </embed> </object [/CODE] ![]() | |
Hello, I am experimenting with float layouts. It is my understanding that if you float three divs to the left they will sit next to each other without bothering any other divs above or below them. As long as the divs have specified width and their container div has enough … | |
Hello, I am having a lot of trouble with the menu system on [url]http://independencebp.webmaxsites.com[/url] It looks fine in Firefox but in IE* the last menu Item drops below "About Us". Why does this happen? Please help. | |
Hello, Is there a way to verify the validity of a credit card when user submits in his/her credit card number? Many thanks in advance. | |
Hello, I get a out of memory error on line 4: [CODE]int isDeleted = 0; PreparedStatement psDeleteRecord=null; try { psDeleteRecord=con.prepareStatement(delQuery); isDeleted = psDeleteRecord.executeUpdate(); if(isDeleted !=1){ echoLog("Could not Delete: " + delQuery); } else { numDel++; } } catch (SQLException s) { echoLog("Failed: " + delQuery); s.printStackTrace(); }[/CODE] This block of … | |
Java implements pass by reference right? So when I do cons("item", stack) with the following code I should print out --> itemabcd. But that isn't the case, why? String stack = "abcd"; cons("item",stack); System.out.println(stack); // public void cons(String item, String stack) { stack = item + stack; } | |
Hello, I have a time field saved in database in GMT format. I need to convert it to the visitor's local time. Is there a way to figure out the vistor's region/time? Should I be looking into javascript for this? I thank you in advance for your help. | |
Hello, Does anyone know what the "Z" stands for? 2009-12-26T06:00:00.000Z | |
Hello, I please take a look at [URL="http://www.jeanbrunone.com/leadtrack/leads.tpl.html"]http://www.jeanbrunone.com/leadtrack/leads.tpl.html[/URL] I am trying to make it look like : [URL="http://www.wwwcomm.com/designs/webmax/leadTrackerUI.htm"]http://www.wwwcomm.com/designs/webmax/leadTrackerUI.htm[/URL] I am having trouble lining up the icons,input boxes and go buttons at the top. I cannot seem to vertically line up the elements. So far I have tried tables, dls, and … | |
Hello, What permissions should PHP files have on a unix/linux system? Is 655 appropriate? Many thanks in advance. ![]() | |
Hello, With PHP I've saved all my website settings in one file e.g [code] 'baseUrl' => 'http://localhost/thisSite', 'resources' => '../Resources/', 'templates' => '../Resources/TPL/', [/code] This makes the site very portable. I simply make changes to this one file and I can move the site to any server. But I how … | |
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 internet. I don't understand this. I thought all javascript execute in the browser. Why … | |
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 same records from the database every time the page loads. I am generating … | |
Hello, Please take a look at :[URL="http://artduffieldrealty.webmaxsites.com/"]http://artduffieldrealty.webmaxsites.com/[/URL] 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 the site in IE7 as I was putting it together. If you hover over a menu item, the … | |
Hello, I am trying to read in a tab delimited text file. Most lines in the file are in the following format: [CODE] Col1 Col2 Col3 data1 data2 data3 data1 data2 data3 [/CODE] But some lines are missing the first value: [CODE] Col1 Col2 Col3 data1 data2 data3 data2 data3 … | |
Hello, I am trying to create a simple ftp client. I'm following the instructions from [URL="http://www.nsftools.com/tips/JavaFtp.htm"]http://www.nsftools.com/tips/JavaFtp.htm[/URL](option 4) If you take look at JakartaWrapperTest.java, The first line is import JakartaFtpWrapper; So When do javac JakartaFtpWrapper.java JakartaWrapperTest.java -cp commons-net-ftp-2.0.jar I get an error saying [B]'.' expected[/B]. And if I comment out the … | |
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 is what am doing right now Many thanks in advance. [CODE] Dim inactiveList ' … | |
Hello, I am trying to sharpen my css skills by practicing with the following design:[URL="http://rayhanm.com/images/JeanBrunoneHome.png"]http://rayhanm.com/images/JeanBrunoneHome.png[/URL] You will find the html page at :[URL="http://rayhanm.com/brunone.html"]http://rayhanm.com/brunone.html[/URL] I am having some trouble with the nav bar. I wondering if someone would be kind enough to help me out. The "contact me" portion of the … | |
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. Many thanks in advance for your help. | |
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 find/open font' monofont.ttf is in the same folder. And the code executes fine on the server. It just won't work on my computer. This leads me to believe … | |
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 Magazine_Category.cat_id) Magazine_Category: cat_id (primary key) category_name (Weekly, Monthly, etc) User user_id (primary key) user_name Subscription user_id (reference to User.user_id) mag_id (reference to Magazine.mag_id) Now I wish … | |
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 underneath the text area is not aligned with the text area. … | |
Hello, I am retrieving html out of a multipart message using: [ICODE]$html = imap_fetchbody($imapStream, $emailId, '2');[/ICODE] And I am retrieving plain text by using [ICODE]$plain = imap_fetchbody($imapStream, $emailId, '1');[/ICODE] My question is: Why is this working? I got this to work through trial and error. I don't know why I … | |
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? | |
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 emails to go to one real email account. mailinator dot com does a very good job of it. No matter what you put in … | |
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 someone help me by pointing out what I am doing wrong. Many thanks … | |
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 the to: field? I would like to create … | |
Hello, Running the following code returns FALSE. [CODE]$server = "smtp.gmail.com"; fsockopen('tcp://' . $server, 587);[/CODE] I know those are correct server address and port because I have ssmtp installed on my computer it uses those values to connect. But when use those values to connect from a real web server it … | |
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 way to achieve the same effect with CSS? Floating label elements to … | |
Hello, mysq_query($query) returns a valid result set. However, [CODE] function query($query) { return mysql_query($query); } [/CODE] returns a 1. Why does this happen? Is there a way around it? Thanks in advance. | |
Hello, I noticed that on some forms the password is not echoed after the user submits the form and the page reloads(this could because of errors or any other reasons). Why is this? Is there a valid security reason? Or is it just overkill? Thanks in advance. | |
Hello, Is it okay to save credit card data in the database. I know it will be password protected but still, it will be a disaster if someone ever hacks in. How do real world companies(mine is school project) save their customer's credit card information? Thank you in advance. | |
Hello, I have a page consisting of two frames. The top frame holds instructions, the bottom frame holds a form. I need the top frame to disappear after the form is submitted. Could someone kindly tell me how I can do this? Note: The frames are parts of the requirements. … | |
Hello, I am trying to get my own(paid) website. But I am not sure about what steps I should take. I understand that signing up with a hosting company will get me storage and scripting functionalities. But I don't understand the process of getting a domain name of my choice. … | |
Hello, The following is a code excerpt I found on the web. Could someone please tell me where I can find information about how to use [I]$$[/I] variables and [I]${$var}[/I] variables. I have never seen them before. [CODE]foreach ($expected as $formvar) $$formvar = (isset(${"_$_SERVER[REQUEST_METHOD]"}[$formvar]))? ${"_$_SERVER[REQUEST_METHOD]"}[$formvar]:NULL;[/CODE] | |
Hello, Given a string like <form method="post" action="xyz.com"> I have to change it to <form method="post" action="myurl.com">. Could someone help me with this please? I think its something like [code]preg_replace("/(<form.*action=")xyz.com(*.>;)/", "$1myurl.com$2")[/code] but its not working. Kindly help. | |
Hello, I am collecting data from users on one form, altering the data, and then depending on which option the users (user will choose a submit button out of many) selects I will be passing the data to a different form where the data will be altered further. I plan … ![]() | |
Hello, Is there a way to send smtp mail without messing with php.ini file? A lot of server don't seem to give access to that. Thanks in advance. | |
Hello, Is there a way to install an email server on a personal computer? I don't need a fully functional email server with all the bells and whistles. I just want to build my website on my personal computer before I upload everything to a real web server. In order … |
The End.