 |
 |
When posting your question please:- Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
- Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
- Keep the subject line brief, but descriptive. eg "File Serialization problem"
- Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
- Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
- Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
- If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode HTML tags when pasting" checkbox before pasting anything inside the PRE block, and make sure "Ignore HTML tags in this message" check box is unchecked.
- Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
- Please do not post links to your question in one forum from another, unrelated forum (such as the lounge). It will be deleted.
- Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
- If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
- No advertising or soliciting.
- We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
When answering a question please:
- Read the question carefully
- Understand that English isn't everyone's first language so be lenient of bad spelling and grammar
- If a question is poorly phrased then either ask for clarification, ignore it, or mark it down. Insults are not welcome
- If the question is inappropriate then click the 'vote to remove message' button
Insults, slap-downs and sarcasm aren't welcome. Let's work to help developers, not make them feel stupid.
cheers,
Chris Maunder
The Code Project Co-fou
|
|
|
|
 |
CODE ON DEVELOPMENT OF A REAL TIME FINGERPRINT-BASED IDENTIFICATION SYSTEM FOR STUDENT ATTENDANCE MANAGEMENT
|
|
|
|
|
 |
Stop posting all over.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
 |
My webhoster updates his PHP to PHP7. I use this only for sending mails in a contact form using the mail()-function. Refering to http://php.net/manual/de/function.mail.php[^] in Version 7 mail() is no longer available. Am I right with this assumption? if yes, are there any alternatives? I could still use php4 functionality, but my webhosters wants extra fees for php4-support.
Thanks in advance!
André
|
|
|
|
|
 |
its work like old php version
|
|
|
|
 |
I learn basic SQL from this video SQL for Beginners
and how to go to next step?
What is the best site for learn sql in advanced level?
|
|
|
|
 |
There are many sites that offer SQL tutorials and samples. You have to decide which one is 'best' according to your knowledge and ability. To become really accomplished there is no substitute for doing it. Create some databases and practice all the different commands until you are thoroughly familiar with them. See https://www.google.com/search?q=msdn%3A%20sql[^] for some of Microsofts offerings.
|
|
|
|
|
 |
also don't forget that learning anything to advanced levels requires time and experience, so before you go read a bunch more theory work with it at the level you know and radually push yourself until you hit things you want to do but don't know how to
wax on wax off
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
|
|
|
|
 |
I'm looking for a link redirecting script (php) or wordpress plugin that will switch links based on how many times clicked. I know its simple, and I thought it would be very easy to find but I can not find a useful tool anywhere. Thought maybe you guts could help.
|
|
|
|
|
 |
please check the code and tell me if there is any problem.as far as i know there is some problem with the text data not being sent toh php file.
<html>
<head>
<title>Ajax Search Box using PHP and MySQL</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
<script src="typeahead.min.js"></script>
<script>
$(document).ready(function(){
$('input.typeahead').typeahead({
name: 'typeahead',
remote:'search.php?key=%QUERY',
limit : 10
});
});
</script>
<style type="text/css">
.bs-example{
font-family: sans-serif;
position: relative;
margin: 50px;
}
.typeahead, .tt-query, .tt-hint {
border: 2px solid #CCCCCC;
border-radius: 8px;
font-size: 24px;
height: 30px;
line-height: 30px;
outline: medium none;
padding: 8px 12px;
width: 396px;
}
.typeahead {
background-color: #FFFFFF;
}
.typeahead:focus {
border: 2px solid #0097CF;
}
.tt-query {
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
}
.tt-hint {
color: #999999;
}
.tt-dropdown-menu {
background-color: #FFFFFF;
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 8px;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
margin-top: 12px;
padding: 8px 0;
width: 422px;
}
.tt-suggestion {
font-size: 24px;
line-height: 24px;
padding: 3px 20px;
}
.tt-suggestion.tt-is-under-cursor {
background-color: #0097CF;
color: #FFFFFF;
}
.tt-suggestion p {
margin: 0;
}
</style>
</head>
<body>
Ajax Search Box using Node and MySQL Codeforgeek Tutorial
<button type="button" class="btn btn-primary btn-lg">Visit Tutorial</button>
<input type="text" name="typeahead" class="typeahead tt-query" autocomplete="off" spellcheck="false" placeholder="Type your Query">
</body>
</html>
|
|
|
|
 |
Don't expect other people to run and debug your code for you. We're glad to help if you will narrow down the issue and ask a specific question.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
 |
im trying to get one response from a form inside a aspx web page but i only get the same page without styles.
Whats is my error? Exist other alternative?
URL WEB SITE
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://the web site/');
curl_setopt($ch, CURLOPT_USERAGENT,'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/32.0.1700.107 Chrome/32.0.1700.107 Safari/537.36');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, "ddlCiudad=05001&ddlEntidadEspecialidad=121-True-3110-05001-Juzgado de Circuito-Familia&rblConsulta=1&a5kuj4redmp05gddr1lfjij5=05001316000420140143000");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_COOKIESESSION, true);
curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookie.txt'); curl_setopt($ch, CURLOPT_COOKIEFILE, ''); $answer = curl_exec($ch);
if (curl_error($ch)) {
echo curl_error($ch);
}
echo $answer;
curl_setopt($ch, CURLOPT_URL, 'http://the web site/');
curl_setopt($ch, CURLOPT_POST, false);
curl_setopt($ch, CURLOPT_POSTFIELDS, "");
$answer = curl_exec($ch);
if (curl_error($ch)) {
echo curl_error($ch);
}
echo $answer;
?>
CASE NUMBER: 05001316000420140143000
Now, i need this answer:
URL IMAGE RESPONSE
Thanks!
|
|
|
|
 |
Hi, I have a strange behaviour in a php script. 1. I list all files of a directry and it's subdirectories in an array. 2. I convert all names in utf-8 and put them in a second array. 3. I serialize and save both arrays in binary files. 4. I rename all files by stripping accents, spaces and all non-ASCCI characters (normalized names). 5. I unserialize the binary files in new arrays and then ... all that I get is only the normalized names in each table.
I can't understand how this happens and how to get around. Note: If I exit the script after 3. and rename the binary files, everything works fine in point 5. by unserializing these renamed binary files.
I would greatly appreciate any suggestion. Thx for your time. Michel.
|
|
|
|
 |
Michel PIERRE wrote: I would greatly appreciate any suggestion. Show the code that is not working and indicate where the error occurs.
|
|
|
|
 |
Hi Richard, Thank's for your interest. Unfortunatly, I have to leave for now. As there's a big peace of code, I'll simplify it and post it as soon as I can.
Best regards, Michel
|
|
|
|
 |
Hi Richard, I think I've found a walk-around: As at the begining I only the names in the differents formats to store in my database, I'll just get them and I'll renames the files after closing the DB. Hope this will work. But I'm still obseded by this strange behaviour.
Thanks and cheers. Michel
|
|
|
|
 |
Hi, I'm a total newbie to JavaScript, Ajax and PHP, so please excuse any stupid question I might ask.
So, I'd like to use a lazy loading TreeView which gets it's data from a database via PHP. I found a JavaScript control to use and an example to try out, and now I have a question.
To lazy load the data for the expanded tree node I need to fire an Ajax request to a PHP file which gives me the answer as a JSON stream. In the example I'm trying out this PHP file only delivers one string (with 'echo'), but what do I have to do if I need to loop through a database recordset. Can I 'echo' every partial answer to my lazy loading treeview as I get it from the database or do I need to collect the complete answer inside the PHP file in a string variable and send it only when it's complete?
I hope you understand my question.
Thanks for any answer or advice in advance.
|
|
|
|
 |
No there is no real difference between lots of little echo es and one big one with the same content. Depending on your server and its buffering policy, you might find little ones a bit faster.
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
|
 |
Hello,
I am a beginner in php and I'd see a picture on the same page by validating certain criteria by pressing a button.
Here the form that I created and I would like the table appears below when I click on the button displaying statistics .
|
|
|
|