I guess it's still a step up from a typewriter.
47_MasoN_47
Posts
-
... and you're worried that XP support is ending! -
UPS troubleLOL, that figures. Why own a cell phone when you can't read the numbers to call people? That would work except I'm sure she wouldn't know who Zuckerberg is...
-
UPS troubleQuite. UPS hires drivers based on their inability to perform menial tasks such as reading, verbally communicating, or counting. I had to go to my neighbor's house and put numbers on her mailbox because the UPS man assumed 8 came after 4 when counting even numbers.
-
http post response id captureI agree with cjoki that this is cross site scripting. It's a pretty big security vulnerability to do such things and a lot of browsers (or security software/addons) will attempt to block it. However, do you have control over the 2nd server (i.e. can you set it up to send that id as a post back to your server?) If so I'd recommend doing that if you absolutely have to. If the OK:##### is just generated HTML I'm not sure how you would go about capturing that and storing it as a variable.
-
MySQL+PHP - Problem with Query not showing all resultsThanks for the reply, I'll try that today if I have time. None of my fields allow nulls so I don't think that is the problem. Now here's something interesting. I put the same values in my HTML form on the previous page (the one that enters them into the database) and submitted, then it shows up in the list, where the first one with the same values does not. I went into MySQL itself and can't find anything wrong with the data...it seems exactly the same in both places. Now one was made before the sorting query was setup and one was made after...would that somehow make a difference? I wouldn't think so since it's just a query...but might as well cover all possibilities.
-
MySQL+PHP - Problem with Query not showing all results$request2 = mysql_query("SELECT * FROM tablename WHERE status IN('In Progress','Pending') ORDER BY FIND_IN_SET('urgent', priority) DESC, FIND_IN_SET('high', priority) DESC, priority DESC, status DESC") or die(mysql_error());
Above is my query. I want the query to show me all the cases where the status is "In Progress" or "Pending" then order them by the priority (urgent, high, mid, low) in that order, then order them DESC by status. Example: Case 1, urgent, Pending Case 2, urgent, In Progress Case 3, high, Pending Case 4, high, In Progress ... For some reason though, random cases aren't displayed in my table. Everything works fine if I leave out the ORDER BY section, but for some reason when ordering is added it stops working. Also, the mid and low sections always seem to show up, but random high and urgent cases do not. I don't understand what is wrong. Can someone please help? I'll gladly provide more information if needed.
-
Firefox ignoring positioning parts of CSSFor the record, after adding the proper tags to the HTML generated by the PHP and putting the end tag on the tables it fixed the problem. Now Firefox and Opera are both displaying the page in the same way.
-
Firefox ignoring positioning parts of CSSYeah I generally write valid XHTML 1.0 Strict, I just didn't think about it since it was inside PHP. I taught myself PHP and am still learning a lot. I have a strong feeling that is what the problem is. Over the weekend I'm going to go through each piece of this site and change it so that it's valid. Thanks a lot for the suggestion, I never would have thought about the browser being so confused at what I was trying to display.
-
Firefox ignoring positioning parts of CSSThat is all the code. Since it's PHP I didn't think about having a doctype and whatnot. I'll make some changes and just see what happens. Thanks for the suggestion, even if it doesn't fix it at least that's one more step making the code more valid.
-
Firefox ignoring positioning parts of CSS"; // Display retrieved data with while loop echo "
"; echo ""; echo ""; while($row = mysql_fetch_array($request)){ // Print out list of IT requests into a table echo ""; } echo ""; echo "
"; echo "
"; echo "
Case #:
"; echo "
New Status:
"; echo "
"; echo ""; echo "
"; echo "
"; echo "
"; echo "
Case #:
"; echo "
New User Name:
"; echo "
"; echo ""; echo "
"; echo "
"; echo "
"; echo "
Case #:
"; echo "
New Date Required:
"; echo "
"; echo ""; echo "
"; echo "
"; echo "
Case #
User Name
Date Requested
Date Required
Problem
Status
"; echo $row['id']; echo "
"; echo $row['userName']; echo "
"; echo $row['dateRequested']; echo "
"; echo $row['dateRequired']; echo "
"; echo $row['problem']; echo "
"; echo $row['status']; echo "
-
Firefox ignoring positioning parts of CSSYes I checked the cases, just to be sure I changed them to all lowercase in both places. No change in either browser. The odd thing is that I have another table setup (one for the admins and one for the users) that shows up perfectly in both Opera and Firefox. It's written the exact same way and I can't figure out why it is that the admin one won't work when the regular user one does. Suggestions on what to try next?
-
table within tableI'm sure there are plenty of people who can tell by looking at it...but what language am I looking at?
-
Firefox ignoring positioning parts of CSSThey are supposed to be above the table and across the top like this http://i30.photobucket.com/albums/c305/m450n/opera.jpg But in Firefox they look like this http://i30.photobucket.com/albums/c305/m450n/firefox.jpg Do you need to see any pieces of the PHP code itself or would that make a difference?
-
Firefox ignoring positioning parts of CSSAlright I have a .php document that lists the results from a query into a table, and has some controls above the table that allow me to make changes to entries if something isn't quite right. Here is the CSS:
body {
background-color: #cccccc;
}#changeStatus {
font-family: arial, helvetica, sans-serif;
font-size: 0.6em;
position: absolute;
left: 2em;
top: -10em;
}#changeUser {
font-family: arial, helvetica, sans-serif;
font-size: 0.6em;
position: absolute;
left: 28em;
top: -10em;
}#changeRequired {
font-family: arial, helvetica, sans-serif;
font-size: 0.6em;
position: absolute;
left: 55em;
top: -10em;
}#changeRequested {
font-family: arial, helvetica, sans-serif;
font-size: 0.6em;
position: absolute;
left: 86em;
top: -10em;
}#itlisttableadmin {
font-family: arial, helvetica, sans-serif;
font-size: 0.8em;
position: absolute;
left: 0em;
top: 8em;
}th {
font-family: arial, helvetica, sans-serif;
font-size: 0.8em;
color: maroon;
}td {
font-family: arial, helvetica, sans-serif;
font-size: 0.8em;
}IE of course garbles it up just because it's IE, but it works just fine in Opera. Everything looks exactly how it should. When I open the page in Firefox, the font-family and font-size for the #change sections work fine, but the positioning doesn't. All the other parts of the CSS work. Can someone tell me what I'm doing wrong? The CSS statement is called in the PHP like this
echo "";
. -
PHP helpI didn't think it was all that bad.
sudo aptitude install php mysql apache
That installed everything I needed. There wasn't much configuration other than configuring virtual sites in apache. Of course you have to setup MySQL with your databases and other such things, but it's pretty easy also.
-
ASP.Net web hosting [modified]www.godaddy.com They just hold the domain though. They offer hosting as well, but I was talking about hosting the actual website yourself in my previous post. They do offer ASP and PHP and all that crap but I don't know if it's free or not.
-
How to protect site from Virus attacksWell that's a bunch of baloney. I don't think it's physically possible to inject a virus into HTML unless they are breaking into the hosting company's servers and editing your HTML files. It's not like you can write some 1337 phrase in a text box and use it to put viruses on websites. Sounds like your hosting company just doesn't want to admit that they have a problem.
-
ASP.Net web hosting [modified]Hosting sites yourself is pretty easy. You can get a domain with Godaddy and setup the DNS records to point to your IP address. If you have a dynamically assigned IP you may have to change it every month or so, so it can be a bit annoying. After you setup the DNS to point to your IP, just open a NAT in your firewall to redirect traffic from port 80 to the internal IP address of your PC (e.g. 205.70.30.80>192.168.0.100). Then you can run your site with Apache or IIS. Something to keep in mind though: some ISPs are anal about people hosting web/ftp sites if you don't have a business account. If it's against their rules it's not a good idea to host your own site. If it doesn't have much traffic you probably won't get in trouble, but still it's not a good idea. I host several websites at my business and my home, it's easy to maintain once you get used to it.
-
get homepage of client browserDoing that would classify your page as malicious in my opinion. That's a bit of an invasion of privacy.
-
Possible Spam Message Encrypted with JavascriptAfter doing some more research on how to decrypt javascript; it seems that unless you can get the key that the string was encrypted (escaped) with, you will have to brute force the code to unencrypt it.