- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 3
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
60 Posted Topics
Hello, I have a huge issue with firefox and some versions of IE. I have a flash embedded into HTML and at some action in the flash, a javascript is called that changes the CSS properties of the div containing the flash (postion, from relative to fixed) the problem is, … | |
Hi, I have this strange problem, I select some data from the database, there is no problem in the query and even when I use mysql_num_rows on the query it gives me the right number of entries in the table I'm selecting from, but when I try to echo every … | |
Hello, I want to write xml with php and Im using the code in this tutorial: [url]http://www.ibm.com/developerworks/library/os-xmldomphp/[/url] I've made the php page and everything looks fine when I access the PHP file, I get the XML structure and all. the problem is, it works only if the file in in … | |
Hello, Is there a way to make a swf that is loading on a page, to make that swf create a screenshot of the page he is running on? Thnx | |
![]() | Re: I am not sure if you can do the same effects with javascript, but you can do similar thing (probably less effects) but the idea might be possible :D I am curious if you would be able to do it :) |
Re: if you want a script to send to multiple emails: [CODE] $sql = "select * from admin_email"; $query = mysql_query($sql); $num = mysql_num_rows($query); while($row = mysql_fetch_array($query)) { $to = $row['emails']; $parts = split(',',$to); $headers = 'From: [email]example@site.com[/email];'; $headers .= 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; … | |
Hello, I am new to Cron and want to test if it's working, I don't have a live server so I am using xamp and wamp. How can I test if my cron code is working? I don't want to use windows scheduler as I am not interested in performing … | |
Hello, I made a script that fetches the HTML of a remote page, on another server: [CODE=php] // $URL[$i] has the value of a url, ex. http://www.google.com $lines = file($URL[$i]); $the_file=''; if($lines) foreach ($lines as $line) { $the_file .= $line . "<br />\n"; } //if I echo the variable $the_file, … | |
Hello, I have just started with ASP, I knew that IIS cannot be installed on Windows xp Home, so I installed Abyss, but it's quite different from wamp,xamp that I was using before with php. Can someone help me run ASP on it? I have followed the tutorial in this … | |
Re: try checking each CSS attribute with the w3 and see which one is not compatible with IE. and also, I really don't like the background-color: none; check these guys, they are not very common: -moz-outline-style:none; -moz-focus-inner:none; filter:alpha(opacity=60); -moz-opacity:0.1; -khtml-opacity: 0.1; opacity: 1.0; | |
Re: put the paths in the database, put the a column for ordering the images in the gallery, the id of the image for example, or the day the image was added. then in the slide show select from the database by ordering according the column (the id, or the adding … | |
Hi, Has anybody use phishtank.com's api? the documentation si pretty poor in their site and they don't reply to emails. The api should help me send a url to phishtank so that they verify if it's spam or not (according to their database) and then return an XML response, and … | |
Re: [CODE=php]foreach($cmpResult as $cmpResult) print_r($cmpResult);[/CODE] The above code should work ![]() | |
Re: use the php function date, it has many parameters to put, look at [url]www.php.net[/url], its easy | |
Re: My guess is that you're using the first www folder not the www folder that lies under the "project1" folder so I guess you should try: ../project1/resources/additional/image.jpg | |
Re: Hello, If I understood correctly, what you need is another column in the table of the users, the column will be named team, and it should have values from 1-10 (number of teams) when the user logs in, you should make a session for his section of the admin only … | |
Re: Use javascript on the onchange even of the html (the dropdown) The javascript must a function that tests if the user selected something other than null and if the user did, then the text box should appear (change the css display from none to block) google for the exact code … | |
Re: use a higher z-index, if you have flash, then it's a problem, try WMODE=Transparent (flash) | |
Re: look in php.net at urldecode and urlencode functions.. IF you want something manually look at the website: [url]http://meyerweb.com/eric/tools/dencoder/[/url] | |
Re: I don't this has got anything to do with php. it's javascript: [code=Javascript] var w = document.myform.mylist.selectedIndex; var selected_text = document.myform.mylist.options[w].text; [/code] | |
Re: always try to use this method: [code=PHP] $query = "SELECT user,email FROM `date` WHERE user = '".$user."' AND email = '".$email."'"; [/code] | |
Re: hmm I guess the <? is making this trouble, and my guess is that you have to deactivate short commands from your php.ini file.. I'm just saying not sure this solves the problem but I think it might. | |
Re: wow, didn't about that, nice, thanks | |
Re: 1. code not between php tags (not likely) 2. page doesn't have .php extension (not likely) 3. PHP installation on server affected negatively (probably) Maybe the hosting support can help you. | |
Re: or if you don't want to pass the variables using get method, you can use a simple cookie :) I'm just saying.. | |
Re: Bro that is insane.. Name the checkboxes just one name that ends with"[]" like "checkboxes[]" and then if you want to process it after sending it to a processing page.. it will be sent as an array and you should use: [code=php] $value = $_POST['checkboxes']; foreach ($value as $value2) { … | |
Re: well I guess google has the documentation of how to implement their search in a website, and what should be done so that it searches only the website. | |
Re: well, I am not feeling well naming an iput as "form" try changing it, I would be surprised if this was the problem :P | |
Re: well, I know a set of functions that work for sure, not sure they are the best method, but they work on copying any file content from server to another even. google Curl functions, you will find done examples. | |
Re: well, that means one of the conditions is definitely true.. Try to echo each condition variable and see which one is the one always true :) this is the simplest way | |
Re: is the form in a .php page? sorry but I didn't read all the posts, just the first one. | |
Re: well gee, thanks for the info Ken :) | |
Re: well i cannot say without revealing the "db_config.php" file.. but try writing the name of the db manually and see if it works first.. if it does then, the $site variable surely is not working properly, maybe it's overwritten by something else in the "db_config.php" file. | |
Re: I didn't read your post, but I think I know your problem: Name the checkboxes as "checkbox[]" And then in the php processing use foreach ($_POST['checkbox']) to process the data. | |
Re: i use this: [code=javascript] function GetXmlHttpObject() { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari return new XMLHttpRequest(); } if (window.ActiveXObject) { // code for IE6, IE5 return new ActiveXObject("Microsoft.XMLHTTP"); } return null; } function Ajaxfunction(str) { xmlhttp=GetXmlHttpObject(); if (xmlhttp==null) { alert ("Browser does not support HTTP … | |
Re: well, I can't do this, but you either use Flash, or Jquery | |
Re: maybe using an input with the type "hidden" that has a value of the user id would help you. | |
Re: I guess you need to use count, and use some procedures also, but I cannot say exactly because I forgot how to use them :P | |
Re: well.. I would say that using OOP in php is rarely the right way to program, and it's not necessarily "Advanced" What I can tell you about OOP in general is: a class contains: 1. Functions: which do stuff to the object that belongs to a the class it lies … | |
![]() | Re: hello, One of the amazing tutorials for extreme beginners is [url]www.tizag.com[/url] but there you just learn how to start, if you want to advance, you have to do it the hard way, but I guess you know that since you're a flash developer. So the forums should be your next … ![]() |
Re: well my advice always is, use Alert from the top to the bottom, JS can be a real pain in the butt, and the error might be something really small,and it could take you days to find out. try putting alerts from the start of the function until the end. … | |
| |
Re: if you can edit the second website's code then use the html <iframe src="YOUR PAGE"></iframe> See w3school for more info. | |
Hello there, I am trying to make a CMS using wamp. I made an uploading photos section, and when I try to delete the folder of the photos I get: Warning: rmdir(C:/wamp/www/site/images/4b4731fda156e) [function.rmdir]: Directory not empty in C:\wamp\www\site\admin\process\delete.php on line 23 Although the directory is empty and I have checked … | |
Re: well, I don't think that php has a function for this, but the javascript may have | |
Re: a precious advice, never use dream weaver, test directly on the server, write code only then see if it looks as u like. | |
Re: Sorry if I am wrong, but what it looks to me is that you're in need of a another table. oK here what you have to do, in the second table you insert the comments, each comment has its own ID that increments, and each comment has a column named … | |
Re: well, What I can think of is an ajax solution, you can make an ajax function that links to the chech.php and gives the pass and username. [CODE=php] In the check.php you can write: if(($user==1)&&($pass==2)) {print true;} else {print false;} [/CODE] | |
Re: [QUOTE=neverneverland;836558]SOLVED - I got some help from another forum. The word "post" is a reserved term, so what I had to do was just change the database field name and then change everywhere it is referred to. Everything works again.[/QUOTE] instead you could have used single quatation at the table's … |
The End.