Hi I have a web form that sends a string to one php file which redirects them to a corresponding URL. I've searched about web form hacking and I've only received information about PHP and SQL... my site only uses a single PHP file, very basic etc. Would it be open to any exploits? I'm obviously not going to post the URL, but here is some code I was working on for the php file:
http://stackoverflow.com/questions/2888077/newbie-php-coding-problem-header-function-maybe-i-need-someone-to-check-my-cod
Thanks
Creating a server-side socket will fail if I'm trying to use the same port I've used before. An address-in-use error occurs.
(make-instance 'sb-bsd-sockets:inet-socket :type :stream :protocol :tcp)
How do I stop this from happening?
Hints and code snippets very welcome! (CL newbie here.)
Thanks!
if this is asked before just point me in the right direction
I am a OO and MVC newbie. I am following along the MVC Storefront(a little outdated now)
where they are talking about routes and adding them to global.asax.cs
My question is this. wouldn't it be better if only 1 route is defined and after that everything is done programatically?
I dont want the user to navigate using the address bar
thank you
I'm a newbie to iframe.
I have a page that needs to call an iframe at another subdomain passing lots of data.
I'm wondering if it's possible to submit the iframe call using a POST instead of GET.
Thanks in advance
Hi everyone, forget my newbie question, but why finding by '2' or '2' in Mysql returns the same record?
For example:
Say I have a record with string field named 'slug', and the value is '2'. And the following SQLs returns same record.
SELECT * From articles WHERE slug='2'
SELECT * From articles WHERE slug='2'
Hi Im a newbie to Spring WebServices. I would like to go through a standard example wherein the WSDL is provided as input from Provider.
Now how will the client code for this WSDL looks like. Do we need to generate a stub code at client side??
Hey, super newbie question. Consider the following WCF function:
[ServiceContract]
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall)]
public class Service1
{
private static NLog.Logger logger = NLog.LogManager.GetCurrentClassLogger();
[WebInvoke(UriTemplate = "",
Method = "POST",
ResponseFormat = WebMessageFormat.Json,
RequestFormat = WebMessageFormat.Json,
BodyStyle = WebMessageBodyStyle.Bare) ]
public SomeObject DoPost(string someText)
{
...
return someObject;
In fiddler what would my request headers and body look like?
Thanks for the help.
in WPF, the System.Windows.Clipboard.getImage() function returns a BitmapSource object. As a newbie in WPF coming from a WinForms background, its not clear to me how to save this image to a file. What are the steps I must take?
Hi, Im a newbie in XML and i have some questions
Can XML be used in stead of normal database (store data in a tuple and column) in website?
XML is built to share information easier (from my understanding) such as can share cross platform and in different language used so Is it secure to store secure data in XML?
thank you so much
Hi everyone!
i'm a newbie in jQuery and i don't know how to do my homework, pls help me !
i have a String EX: this is my text, press here.
Now i put in o block character : [here]
how can a take slipt string and get text in [ ] into variable 'done'?
thankyou !
As I am stumbling through Facebook App Dev. I am getting more and more close to a bit sophisticated questions, bu still I am at newbie level.
Can I have custom Tab and inside that tab two different apps ?
ex. (the slideshow and top 5 news(RSS feed))
hello ..
i'm new to pyqt , and i'm still facing some newbie problems :D
i have a QTableWidget that is item delegated on a QChoice control ( hope i said it right )
i need to have the cell background color changes whenever a user change the choice control selection
briefly: how to change a cell background color in a table widget ??
i use pyqt4 and python 2.6
thanx in advance
hello,I'm a newbie on iphone develop,I get the example of GLIImageProcessing,and I want to do same image processing ,and now I want to know how to transform GLIImageProcessing example result like brightness to a UIImage,thank you.
I've been reading the Head First iPhone Development book and I understand how to get to a new view from a table but how exactly would I be able to get to a new view or view controller, by just simply pressing a button? Is that even possible?
I mean there are some apps where you click a button, not a table cell and it loads a new view. How exactly is that done? If someone could help out a newbie it would be greatly appreciated!
newbie question in css:
I have the following style defined:
TABLE.tabulardata th {
font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
background: #CAE8EA url(images/bg_header.jpg) no-repeat;
}
I want to create an identical style but with different background color.
question: is it possible to parameterize the attribute. Background color in this case Or do i need to copy the same style again
Is there such a thing as a paid (or free would be GREAT, but unlikely I'm thinking) resource that could help a newbie with guidance and help as I create my first app (C# with SQLite db)?
Stackoverflow is great, but a one-on-one person who was familiar with exactly what I'm doing would be even better.
ASP.NET newbie here. When on a page I'd like to set the corresponding menu item to selected. My approach is this:
On Home.aspx.cs:
Menu menu = (Menu)Master.FindControl("Menu1");
if (menu.Items.Count > 0)
{
menu.FindItem("Home").Selected = true;
}
Trouble is, menu.item.count == 0.
My menu is bound to a sitemap, if that matters.
Thanks,
Bill
We are using Mysql.exe to restore database by the following query
string cmd ="-h" + ViewState["host"].ToString() + " " + "-u" +
ViewState["user"].ToString() + " " + "-p" + ViewState["password"].ToString() +
" " + ViewState["dbName"].ToString() + "<" + " " +
Server.MapPath("BackupFiles/") + path;
The same query is executing in MySql command prompt but we are not able to restore using the above query in VisualStudio .Net, we have tried MysqlImport.exe to do the restore but it was no use. we are newbie to MySql if any help would be appreciated.
Chinese characters can be view horizontally and vertically. I want to let users have both options. How can this be done in an iPhone views?
e.g.
+-------------------------+ +-------------------------+
| Hello, I am a newbie. | | b a H |
| | | i m e |
| | | e l |
| | ---> | . a l |
| | | o |
| | | n , |
| | | e |
| | | w I |
+-------------------------+ +-------------------------+
I have a quick, newbie question...
I just started looking through authrozation services and Apple's BetterAuthorizationSample...
for some reason, I just can't get the hang of it. For example...
I deleted the HelperTool and InstallTool and SampleTool.c and all references, but why does the program seem to continue work like nothing happened at all even after a clean build?
Even commenting out all the code in SampleTOol.c doesn't seem to affect the way the program runs?
Thanks
RewriteEngine On
RewriteRule ^([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)$ index.php?p=$1&l=$2
RewriteRule ^([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)/$ index.php?p=$1&l=$2
this works fine if I do site.com/param_one/param_two/, but returns a 404 when I omit param_two. I'm a newbie to routing requests with htaccess, is there a simple quick fix?
Git newbie here, quick question. I mistakenly added files using the command "git add file". I have not yet run "git commit". Is there a way to remove these files from the commit?
Hi, Python newbie here.
I have a list L = [a, b, c] and I want to generate a list of tuples :
[(a,a), (a,b), (a,c), (b,a), (b,b), (b,c)...]
I tried doing L * L but it didn't work. Can someone tell me how to get this in python.