Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
53% Quality Score
Upvotes Received
4
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
4
Posts with Downvotes
4
Downvoting Members
2
~8K People Reached
Member Avatar for valonesal

Does anyone know the safe tags to use on a website or know where I may be able to find a list of them? Thank you.

Member Avatar for Gaetane
0
112
Member Avatar for valonesal

How would I check to see if html purifier is running correctly on our server? We are using the following [CODE]<?php $doctypes = array( 1 => 'XHTML 1.0 Transitional', 2 => 'XHTML 1.0 Strict', 3 => 'HTML 4.01 Transitional', 4 => 'HTML 4.01 Strict' ); $tidylevels = array( 1 => …

0
52
Member Avatar for valonesal

We have the following code that is suppose to output html in a box below, however it is not working correctly. When we click the button it does not generate the html, it doesnt do anything. What we are trying to achieve is to have information input then have it …

0
87
Member Avatar for valonesal

Ok we are working with a script and we get the following error [CODE]Warning: Invalid argument supplied for foreach() in /xxx/xxx/xxx/spider.php on line 149 [/CODE] Im not sure what the problem is and I havent had any luck fixing it, here is the line in question [CODE]foreach ($array as $value) …

Member Avatar for nonshatter
0
503
Member Avatar for valonesal

We would like to serve javascript from our database. We assumed it would be like serving html but its not working. What we have is a small news ticker and we would like to use a call to our database via php to serve this ticker, so we put the …

Member Avatar for diafol
0
129
Member Avatar for valonesal

Im a novice at php and cant seem to get the following two line together. We want to use this line [CODE] <?php if($logged_in) { echo "Welcome back, $logged_row[username]&nbsp"; } else { print('<a href="http://xxx/login.html">Login</a> / <a href="http://xxx.com/signup.html">Signup</a>'); } ?>[/CODE] But we need this put into it, we need it before …

Member Avatar for valonesal
0
101
Member Avatar for valonesal

We have a script that allows us to have a button that says save page, then it displays a list of pages the user has saved. It does this via cookies. You can see the script here for better clarification. [url]http://www.tele-pro.co.uk/scripts/storeddocs/store.htm?[/url] Does anyone know of a way to do this …

0
60
Member Avatar for valonesal

Is there a way to set tinymce so that the user can post text and html in the same box without having to open the html box to enter code? I have seen on other sites where you can enter text and then some html and it comes out fine …

Member Avatar for valonesal
0
88
Member Avatar for valonesal

When we make a post to our site it looks fine but when we view the post we see a bunch of \r\n. We are told that we should use something like [CODE]str_replace("\r\n","<br/>",$YOUR_VAR)[/CODE] in order to stop this. Here is my question is the above correct? If so how would …

Member Avatar for valonesal
0
112
Member Avatar for valonesal

Ok so I am working on setting up a zencart site. We purchased a slide show from flash den and we cannot figure out how to get it to show in zencart. We have tried all of the normal stuff and it doesnt seem to work. When we create a …

0
60
Member Avatar for valonesal

Can someone recommend a program for testing our website, such as stress testing, load testing and so on? Thank you.

Member Avatar for diafol
0
98
Member Avatar for valonesal

Ok I have this little bit of code. [CODE]<?php $con = mysql_connect("localhost","dbusername","pass"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("dbname", $con); $result = mysql_query("SELECT * FROM tb_comments"); while($row = mysql_fetch_array($result)) { echo $row['sku'] . " " . $row['name']; echo "<br />"; } mysql_close($con); ?> [/CODE] What I …

Member Avatar for valonesal
0
95
Member Avatar for valonesal

Ok so I have a bit of code. [CODE]echo "<span class='sortstyle'><strong>Average rating:</strong> "; while($row = mysql_fetch_array($result)) { $rating1 += $row[rating1]; } $avgrating = round($rating1/$numberofrows, 2); echo $avgrating." / 5</span><span class='sortstyle'><strong>Total reviews:</strong> ".$numberofrows."</span>"; }[/CODE] I want this to display the values from my database but from different rows so I tried. …

Member Avatar for kireol
0
75
Member Avatar for valonesal

Ok so I have this script and I cant figure out how to add multiple star ratings to one page. [CODE]<? require "config.php" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <meta name="author" content="SMARTREVIEWSCRIPT.COM" /> <title>Add Your Review</title> <link rel="stylesheet" href="style.css" type="text/css" …

0
87
Member Avatar for 3DProf4online
Member Avatar for migcosta
0
184
Member Avatar for valonesal

Ok I have a site, the site allows me to create multiple pages dynamically, the pages are smarty pages. The editor for the pages is tiny_mce When I go to create the page all goes well, I design then paste the code in html to the tiny_mce interface. When I …

0
59
Member Avatar for valonesal

Ok so I created a small page using smarty, now what I need to do is create a link to the page(s). The set the page up so that it will display information for the individual user and not to everyone, also the pages are created dynamically. So I need …

0
75
Member Avatar for valonesal

Ok so I wrote a little script that allows me to call information from my database. Basicly this. <table> <tr> <td id="seal"><?php include("sql.php"); echo "$websiteaddress"; ?></td></tr> </table> All this does is connects to the sql file echoing the users website address thus I type in mywebsite.com/index.php?name=aname and it returns their …

Member Avatar for Hummdis
0
111
Member Avatar for valonesal

I have images I would like to serve that will need individual information posted on them. Just a word or two. The information will be pulled from our database. The text will depend on the url that is entered. We tried just a simple echo but when you view just …

Member Avatar for valonesal
0
112
Member Avatar for valonesal

One of the guys here were nice enough to help us put together a javascript code that displays dynamic information. [CODE]<div id="info"></div> <script type="text/javascript"> var request if(window.XMLHttpRequest){ request=new XMLHttpRequest() }else if(window.ActiveXObject){ request=new ActiveXObject("Microsoft.XMLHTTP")} request.open('GET','http://ourwebsite.com/index.php?get=1',false) request.send(null) document.getElementById('info').innerHTML=request.responseText </script>[/CODE] The problem we are having now is that it does not show the …

Member Avatar for codejoust
0
66
Member Avatar for valonesal

This should be pretty simple, We have written a script that calls certain information from our database then we use a simple echo to show the information on our other .php pages. What we need to do is be able to show this same information on html pages as well. …

Member Avatar for valonesal
0
170
Member Avatar for rajeesh_rsn

Hai Friends, I am designing a CSS based website, Well in that I need to adjust 3 div inside a main div as in the form of a table cell. Like this ====== Parent Div =================== |||Child Div1 |||--|||Child Div2 |||--|||Child Div3||| ================================== I had the code like this CSS …

Member Avatar for js112
0
148
Member Avatar for valonesal

Ok Im am so very lost on what to do now, I have written the php code and would like to display the contents of what is being echoed through the url. Example is by entering mywebsite.com/index.php?dog=dogs it returns "a dog" mywebsite.com/index.php?dog=littledog returns "a little dog" What I would like …

Member Avatar for Atli
0
93
Member Avatar for Bami

Heya all, I am presently doing a site for a friend and I have this issue : I have a page that validates (x)HTML. I have a tag image that loads in the design view but when I visualise it threw a browser the image dosent load. I also have …

Member Avatar for powersstuff
-1
80
Member Avatar for valonesal

We are trying to ensure that information is seen even if javascript is disabled. So we would like to create something that opens a popup as normal however if javascript is disabled it opens a new tab or window with the information. But if javascript is enabled it just opens …

Member Avatar for valonesal
0
131
Member Avatar for valonesal

I finally got things together and now the echo is not working can someone tell me what I am doing wrong? The page I want to echo is working fine I just cant echo the information to another page. Thank you. Here is the echo page. [CODE]<?php echo '<a href="http://mywebsite.com/index.php?text=this">'; …

Member Avatar for Atli
0
105
Member Avatar for MDanz

hello, i echo this [CODE] echo "<td ALIGN='center'><div class='rollover'><a href='http://www.tsfdgdg.com/search.php?search=$stackname' style='text-decoration: none';> <table border='0' celpadding='0' cellspacing='0' id=\"point\"> <tr> <td width='100px' height='101px' ALIGN='center'> <font size=3 font face=Arial font color=white><b>$stackname</font><br><font color=orange font size=2>$posted</font></b> </td> </tr> </table></a></div> </td>"; [/CODE] here is the css code [CODE]<style type="text/css"> .rollover a { float: left; width: 101px; …

Member Avatar for Troy III
-1
139
Member Avatar for valonesal

I would like to make it so that no matter what the client enters it will match words in the database. Example: they type [url]http://awebsite.com[/url] but only awebsite.com exists it still matches it and any combination such as they search awebsite.com and [url]http://awebsite.com[/url] is in the database it matches. Here …

Member Avatar for fwdean
-1
132
Member Avatar for valonesal

We are wondering how we would add parameters to the following script so that each section can be called separately. [CODE]<?php // This is the content we want to display $data = <<<EOT <div class="topbar"> My Text goes here </div> EOT; // Output JavaScript code to write the data printf('document.write(unescape("%s"));', …

Member Avatar for almostbob
-1
251
Member Avatar for valonesal

I would like to be able to open a php file and edit it from a browser window. We need to easily add website to this file. We will have a hidden, password protected area that we will use to edit this file. Is there an easy way to do …

Member Avatar for diafol
0
1K