Jump to content

jnroche

Members
  • Posts

    50
  • Joined

  • Last visited

jnroche's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Ill try to exhaust first all my efforts to at least help this company better their security in terms of IT infrastructure. but i need some help with my documentation and our proposal, before hunting for other companies that are not run by @$*&! lolsawkward this is the only company i know that does not have a routing capability. The number of computers are increasing by each month... :)thanks for the englightenment guys! never expected 4 people would reply to this .. lolsgod bless!PS would you know other softwares online that offer a sort of like a hack-scan to PCs?? im thinking if that software can tell how vulnerable our network is then i guess that would become enough for our boss to convince a router with firewall capability....lols!!! i tried the symantec thing but it basically just passed! lols
  2. Hi Guys!Are there any ready made documentations for a router that states its importance, significance and has a blow by blow account of disadvantages(not so much of the disadvantage) and advantages online?Our boss is not satisfied having a router for his network when his IT personel (us) is convinced he needs to have a router setup. I can only know so much about routers and how important they are in a company with networked computers. But just for formality reasons and so we can have a full documentation, not just a couple of pages, to give to our boss and let him understand the risk of not having routers.I was having a hard time compiling resources over the net at such a limited amount of time.please help.thanks
  3. thanks so much for all who posted. appreciate it so much. maybe the client can't do anything about it besides paying some services for this. glad client just resume without having to bother about the other states from other countries.thanks again.
  4. Hi Guys!Is there a way I can get a code or something that already furnishes all the state for a given country say US or UK? this is for HTML/PHP coding...In my form I have this portion with fields to fill-out:...Country: (combobox here)State: (combobox here)...I can manually look up the list of states for each country(google, if applicable) and then hard code them to php or html... however it would be a tedious job going site to site just to find the list of states for a specific country.. what if all countries around the world have their own states!?Hope there is an answer to this...
  5. okay now im trying to query a string datatype from a db table the field is: payperiod (varchar(20)), in php i do this :$tblovertimes = mysql_query("SELECT * FROM tblovertimes WHERE payperiod='".$period."', $db); <--- that is single quote followed by double quote then vice versa$fetch = mysql_fetch_array($tblovertimes);that line does not produce any results at all!but THIS:$tblovertimes = mysql_query("SELECT * FROM tblovertimes WHERE payperiod='1 (16 - 31) 2007', $db);$fetch = mysql_fetch_array($tblovertimes); DOESOR THIS:$period = '1 (16 - 31) 2007';$tblovertimes = mysql_query("SELECT * FROM tblovertimes WHERE payperiod='".$period."', $db);$fetch = mysql_fetch_array($tblovertimes);ALSO PRODUCES RESULTSBUT THIS:$period = $month." (".$from." - ".$to.") ".$yearnow; //echoes 1 (16 -31) 2007 with the right spacing.. assuming variables are in the right order of values$tblovertimes = mysql_query("SELECT * FROM tblovertimes WHERE payperiod='".$period."', $db);$fetch = mysql_fetch_array($tblovertimes);DOES NOT PRODUCE ANY RESULTS AT ALL! WHY WHY WHY OH WHY!!!!
  6. thanks justsomeguy!would this cause some serious security issues? i feel you can loop through objects in the database while connection is open and leave hackers scouting for real items/objects within your database? is this advisable?
  7. Hi gurus!here is my sample code excerpt:on the index.php file: $MENUS = new config;$MENUS->dbconnect("localhost", "root", "", "customd_db");$fieldcapture = array("menuid", "txmenu", "groupid", "txgroupdesc");$menusarr = $MENUS->querydb("*", "tblmenus", '', $fieldcapture);...what is important is the following two lines$_SESSION['objMenus'] = serialize($MENUS);$test = unserialize($_SESSION['objMenus']);echo $test->dbname;if you run this code the name customd_db will show up.okay, now, when i redirect to another page (second page) and get the name of the database:hence on secondfile.php:include "class.Config.php";...$test2 = unserialize($_SESSION['objMenus']);echo $test2->dbname;the second page generates 1anything wrong with the code?
  8. I agree! you should make sure you delete objects you used in your program when you find no more reason to use it at any point especially when the entire program exits. memory leaks occur because objects were not freed up explicitly (in c++) from memory..as far as programming OOP for the web (using php), my question was more of getting persistent values across refreshed pages (especiall the index page - coz this is where everything in php is initialized), passing objects using either GET or POST or SESSION... and i have tried session and error occurs saying something about serializing the object first..I have yet to try serialize() function in php and see how it goes..thanks heaps
  9. Hi guys!just curious if PHP (4 & up) can handle classes/class objects that persist in memory even if the page was destroyed or reloaded fully??? as i understand it, classes (OOP in general) stays in memory unless explicitly (i know in c++ there is a delete built-in function) destroyed.... thanks
  10. hi guys!is there a way to create a file using PHP dynamically?? all i know is copy() function where you can copy an 'existing' file to another directory/filename...thanks
  11. I want to customize the interface for File Upload process. HTML Object uses the form objects to produce a textbox, a browse button, and an upload image button. But I want to remove the textbox and leave just one button named browse.the javascript code for IE implementation is: function browse() { var fso = new ActiveXObject("Scripting.FileSystemObject"); //codes here...}*this will produce a pop up window for browsing files. *I dont know how to implement this for mozilla compatibility, tried digging from sources but seems hard to reach area...
  12. thanks so much for all your help. i finally got it to work with mozilla. thanks guys!for reference purposes here is a code that works- courtesy of the guys here on this thread- for mozilla when using IFRAME contentDocument for rich-text editing:when extracting the innerHTML for whatever purposes - function getFramecontent(aID) { var rv = null; if (document.getElementById(aID).contentDocument){ rv = document.getElementById(aID).contentDocument; // - this line captured by mozilla } else { // IE rv = document.frames[aID].document; }alert(rv.body.innerHTML); }always glad
  13. i tried it but i get (in mozilla browser) document.frames has no properties. this is a sample code relevant to the issue:<iframe id="iframeidx" name="iframeid"></iframe> <form> <input type="text" id="word"/><a onMouseDown="testframe()">Submit</a> <input type="button" value="iframe" onClick="document.getElementById('iframeidx').contentDocument.designMode='On'" > <input type="button" value="alert" onClick="testframe()" > </form>anything wrong???
  14. I used iframe for rich-text editing, for my forums site. If the user wants to create a new post, i want to simply capture whatever the user writes within the iframe object and be able to save it to the database.there was no problem with getting the iframe to work or to make it editable. the problem starts when i want to capture whatever the value is written to it????help needed
×
×
  • Create New...